Initial prototype of Gradle plugin to build Android applications
authorAdam Murdoch <adam.murdoch@gradleware.com>
Sun, 19 Aug 2012 23:44:51 +0000 (09:44 +1000)
committerAdam Murdoch <adam.murdoch@gradleware.com>
Tue, 21 Aug 2012 02:20:05 +0000 (12:20 +1000)
commit08bd6cfc94cf36d4ab8540574fc8eaa3a6271c64
tree5b23185088ef65af6eec893d9d4cc83f30fdba53
parent1d963e6684952b9259e2be2b33b36b649f889f26
Initial prototype of Gradle plugin to build Android applications

This is an initial prototype Gradle plugin that can build Android applications.
This is intended to demonstrate how such a plugin would be wired together. Most
of the tasks are placeholders for a real implementation. See the readme for
details.

Change-Id: I8f25493b9656c3919c0635c0e5363cdd9c8c171d
80 files changed:
.gitignore [new file with mode: 0644]
basic/build.gradle [new file with mode: 0644]
basic/src/main/AndroidManifest.xml [new file with mode: 0644]
basic/src/main/java/org/gradle/sample/BuildType.java [new file with mode: 0644]
basic/src/main/java/org/gradle/sample/MainActivity.java [new file with mode: 0644]
basic/src/main/java/org/gradle/sample/Person.java [new file with mode: 0644]
basic/src/main/java/org/gradle/sample/ShowPeopleActivity.java [new file with mode: 0644]
basic/src/main/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
basic/src/main/res/drawable-ldpi/ic_launcher.png [new file with mode: 0644]
basic/src/main/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
basic/src/main/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
basic/src/main/res/layout/main.xml [new file with mode: 0644]
basic/src/main/res/values/strings.xml [new file with mode: 0644]
build.gradle [new file with mode: 0644]
buildSrc/MODULE_LICENSE_APACHE2 [new file with mode: 0644]
buildSrc/NOTICE [new file with mode: 0644]
buildSrc/build.gradle [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/AndroidExtension.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/AndroidLibraryExtension.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/AndroidLibraryPlugin.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/AndroidPlugin.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/BuildType.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/CrunchResources.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/Dex.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/GenerateManifest.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/InstallApplication.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/PackageApplication.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/ProcessResources.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/ProductFlavor.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/ZipAlign.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/AndroidManifest.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/ApplicationVariant.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/BuildTypeDimension.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/ProductFlavorDimension.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/ProductionAppVariant.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/SourceVariant.groovy [new file with mode: 0644]
buildSrc/src/main/groovy/org/gradle/android/internal/TestAppVariant.groovy [new file with mode: 0644]
buildSrc/src/main/resources/META-INF/gradle-plugins/android-library.properties [new file with mode: 0644]
buildSrc/src/main/resources/META-INF/gradle-plugins/android.properties [new file with mode: 0644]
customized/build.gradle [new file with mode: 0644]
customized/src/custom/java/org/gradle/sample/BuildTypeImpl.java [new file with mode: 0644]
customized/src/debug/java/org/gradle/sample/BuildTypeImpl.java [new file with mode: 0644]
customized/src/free/java/org/gradle/sample/People.java [new file with mode: 0644]
customized/src/free/res/values/strings.xml [new file with mode: 0644]
customized/src/main/AndroidManifest.xml [new file with mode: 0644]
customized/src/main/java/org/gradle/sample/BuildType.java [new file with mode: 0644]
customized/src/main/java/org/gradle/sample/MainActivity.java [new file with mode: 0644]
customized/src/main/java/org/gradle/sample/Person.java [new file with mode: 0644]
customized/src/main/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
customized/src/main/res/drawable-ldpi/ic_launcher.png [new file with mode: 0644]
customized/src/main/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
customized/src/main/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
customized/src/main/res/layout/main.xml [new file with mode: 0644]
customized/src/main/res/values/strings.xml [new file with mode: 0644]
customized/src/paid/java/org/gradle/sample/People.java [new file with mode: 0644]
customized/src/paid/res/values/strings.xml [new file with mode: 0644]
customized/src/release/java/org/gradle/sample/BuildTypeImpl.java [new file with mode: 0644]
customized/src/test/java/org/gradle/sample/Test.java [new file with mode: 0644]
customized/src/testFree/java/org/gradle/sample/FlavorTest.java [new file with mode: 0644]
customized/src/testPaid/java/org/gradle/sample/FlavorTest.java [new file with mode: 0644]
gradle/wrapper/gradle-wrapper.jar [new file with mode: 0644]
gradle/wrapper/gradle-wrapper.properties [new file with mode: 0644]
gradlew [new file with mode: 0755]
gradlew.bat [new file with mode: 0644]
multiproject/app/build.gradle [new file with mode: 0644]
multiproject/app/src/main/AndroidManifest.xml [new file with mode: 0644]
multiproject/app/src/main/java/org/gradle/sample/MainActivity.java [new file with mode: 0644]
multiproject/app/src/main/java/org/gradle/sample/ShowPeopleActivity.java [new file with mode: 0644]
multiproject/app/src/main/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
multiproject/app/src/main/res/drawable-ldpi/ic_launcher.png [new file with mode: 0644]
multiproject/app/src/main/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
multiproject/app/src/main/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
multiproject/app/src/main/res/layout/main.xml [new file with mode: 0644]
multiproject/app/src/main/res/values/strings.xml [new file with mode: 0644]
multiproject/library/build.gradle [new file with mode: 0644]
multiproject/util/build.gradle [new file with mode: 0644]
multiproject/util/src/main/java/org/gradle/sample/People.java [new file with mode: 0644]
multiproject/util/src/main/java/org/gradle/sample/Person.java [new file with mode: 0644]
readme.md [new file with mode: 0644]
settings.gradle [new file with mode: 0644]