From 6c82e98252bebb2f6dbc2bf3cc8ab6c50948f66f Mon Sep 17 00:00:00 2001 From: Danny Weinberg Date: Wed, 5 Aug 2015 03:13:11 -0700 Subject: [PATCH] Add comments to gradle build files. --- build.gradle | 1 + drag-sort-listview-gradle/build.gradle | 3 ++ holoeverywhere-gradle/build.gradle | 3 ++ .../build.gradle | 29 ++++++++++--------- 4 files changed, 23 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 38311ff..cfc3897 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:1.3.0' + // Used for annotation processing needed by the AndroidAnnotations library classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6' } } diff --git a/drag-sort-listview-gradle/build.gradle b/drag-sort-listview-gradle/build.gradle index f19cde6..e1e628e 100644 --- a/drag-sort-listview-gradle/build.gradle +++ b/drag-sort-listview-gradle/build.gradle @@ -1,5 +1,8 @@ apply plugin: 'com.android.library' +// This file is here (rather than in the drag-sort-listview project) +// so we can control how it builds without having to submit pull requests. + dependencies { compile 'com.android.support:support-v4:19.1.0' } diff --git a/holoeverywhere-gradle/build.gradle b/holoeverywhere-gradle/build.gradle index ea00bb8..2b993a1 100644 --- a/holoeverywhere-gradle/build.gradle +++ b/holoeverywhere-gradle/build.gradle @@ -1,5 +1,8 @@ apply plugin: 'com.android.library' +// This file is here (rather than in the holoeverywhere project) +// so we can control how it builds without having to submit pull requests. + dependencies { compile 'com.android.support:support-v4:13.0.0' compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar' diff --git a/holoeverywhere-preferences-gradle/build.gradle b/holoeverywhere-preferences-gradle/build.gradle index d9d1551..9586c78 100644 --- a/holoeverywhere-preferences-gradle/build.gradle +++ b/holoeverywhere-preferences-gradle/build.gradle @@ -1,22 +1,25 @@ apply plugin: 'com.android.library' +// This file is here (rather than in the holoeverywhere project) +// so we can control how it builds without having to submit pull requests. + dependencies { - compile project(':holoeverywhere-gradle') + compile project(':holoeverywhere-gradle') } android { - compileSdkVersion 17 - buildToolsVersion '22.0.1' + compileSdkVersion 17 + buildToolsVersion '22.0.1' - defaultConfig { - targetSdkVersion 17 - } - - sourceSets { - main { - manifest.srcFile '../holoeverywhere/addons/preferences/AndroidManifest.xml' - java.srcDirs = ['../holoeverywhere/addons/preferences/src'] - res.srcDirs = ['../holoeverywhere/addons/preferences/res'] + defaultConfig { + targetSdkVersion 17 + } + + sourceSets { + main { + manifest.srcFile '../holoeverywhere/addons/preferences/AndroidManifest.xml' + java.srcDirs = ['../holoeverywhere/addons/preferences/src'] + res.srcDirs = ['../holoeverywhere/addons/preferences/res'] + } } - } }