code formatting fixes for build.gradle from Android Studio

This commit is contained in:
Hans-Christoph Steiner 2015-08-28 14:10:21 +02:00
parent 1f607d3e6d
commit 853e281710

View File

@ -1,5 +1,4 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
if (!hasProperty('sourceDeps')) { if (!hasProperty('sourceDeps')) {
logger.info "Setting up *binary* dependencies for F-Droid (if you'd prefer to build from source, pass the -PsourceDeps argument to gradle while building)." logger.info "Setting up *binary* dependencies for F-Droid (if you'd prefer to build from source, pass the -PsourceDeps argument to gradle while building)."
@ -79,7 +78,6 @@ if ( !hasProperty( 'sourceDeps' ) ) {
} }
} }
task cleanBinaryDeps(type: Delete) { task cleanBinaryDeps(type: Delete) {
enabled = project.hasProperty('sourceDeps') enabled = project.hasProperty('sourceDeps')
@ -90,7 +88,6 @@ task cleanBinaryDeps(type: Delete) {
include '*.jar' include '*.jar'
} }
} }
task binaryDeps(type: Copy, dependsOn: ':F-Droid:prepareReleaseDependencies') { task binaryDeps(type: Copy, dependsOn: ':F-Droid:prepareReleaseDependencies') {
enabled = project.hasProperty('sourceDeps') enabled = project.hasProperty('sourceDeps')
@ -114,7 +111,6 @@ task binaryDeps(type: Copy, dependsOn: ':F-Droid:prepareReleaseDependencies') {
} }
} }
android { android {
compileSdkVersion 22 compileSdkVersion 22
buildToolsVersion '23.0.1' buildToolsVersion '23.0.1'
@ -174,7 +170,6 @@ android {
} }
} }
// This person took the example code below from another blogpost online, however // This person took the example code below from another blogpost online, however
// I lost the reference to it: // I lost the reference to it:
// http://stackoverflow.com/questions/23297562/gradle-javadoc-and-android-documentation // http://stackoverflow.com/questions/23297562/gradle-javadoc-and-android-documentation