Separated the prototype into plugin and test apps.
authorAdam Murdoch <adam.murdoch@gradleware.com>
Tue, 21 Aug 2012 05:36:01 +0000 (15:36 +1000)
committerAdam Murdoch <adam.murdoch@gradleware.com>
Tue, 21 Aug 2012 05:36:01 +0000 (15:36 +1000)
commit238faded3b24bcd70b2aa6bd3a6302f64f31b070
treebed180c73208d4601a3ac372b4d08eda381bc0d3
parent08bd6cfc94cf36d4ab8540574fc8eaa3a6271c64
Separated the prototype into plugin and test apps.

The plugin implementation has moved to the gradle/ directory,
and the test applications have moved under the testapps/
directory. This change means that you now have to run
./gradlew uploadArchives in the root directory to make the
plugin available to the test application builds via a
local repository (in repo/).

See the readme.md for more details about building and using
the test applications.

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