Add test that builds all the test projects.
Xavier Ducrohet [Mon, 12 Nov 2012 08:46:07 +0000 (09:46 +0100)]
Change-Id: I8686052470b71f9f61f83da360a205a2f04d5271

255 files changed:
.gitignore
builder/prebuilts/sdklib.jar
gradle/src/main/groovy/com/android/build/gradle/AppPlugin.groovy
gradle/src/test/groovy/com/android/build/gradle/ProjectTest.groovy [new file with mode: 0644]
gradle/src/test/groovy/com/android/build/gradle/internal/BaseTest.groovy
samples/basic/build.gradle [deleted file]
samples/basic/src/release/res/values/strings.xml [deleted file]
samples/flavored/debug.keystore [deleted file]
samples/migrated/AndroidManifest.xml [deleted file]
samples/migrated/assets/notice.txt [deleted file]
samples/migrated/res/drawable/icon.png [deleted file]
samples/migrated/res/layout/main.xml [deleted file]
samples/migrated/res/raw/notice.txt [deleted file]
samples/migrated/res/values/strings.xml [deleted file]
samples/migrated/src/com/android/tests/basic/Main.java [deleted file]
samples/migrated/tests/src/com/android/tests/basic/MainTest.java [deleted file]
tests/aidl/build.gradle [moved from samples/aidl/build.gradle with 100% similarity]
tests/aidl/src/main/AndroidManifest.xml [moved from samples/aidl/src/main/AndroidManifest.xml with 100% similarity]
tests/aidl/src/main/aidl/com/android/tests/basicprojectwithaidl/ITest.aidl [moved from samples/aidl/src/main/aidl/com/android/tests/basicprojectwithaidl/ITest.aidl with 100% similarity]
tests/aidl/src/main/aidl/com/android/tests/basicprojectwithaidl/Rect.aidl [moved from samples/aidl/src/main/aidl/com/android/tests/basicprojectwithaidl/Rect.aidl with 100% similarity]
tests/aidl/src/main/java/com/android/tests/basicprojectwithaidl/Main.java [moved from samples/aidl/src/main/java/com/android/tests/basicprojectwithaidl/Main.java with 100% similarity]
tests/aidl/src/main/java/com/android/tests/basicprojectwithaidl/Rect.java [moved from samples/aidl/src/main/java/com/android/tests/basicprojectwithaidl/Rect.java with 100% similarity]
tests/aidl/src/main/res/drawable/icon.png [moved from samples/aidl/src/main/res/drawable/icon.png with 100% similarity]
tests/aidl/src/main/res/layout/main.xml [moved from samples/aidl/src/main/res/layout/main.xml with 100% similarity]
tests/aidl/src/main/res/values/strings.xml [moved from samples/aidl/src/main/res/values/strings.xml with 100% similarity]
tests/api/build.gradle [moved from samples/api/build.gradle with 78% similarity]
tests/api/src/main/AndroidManifest.xml [moved from samples/api/src/main/AndroidManifest.xml with 100% similarity]
tests/api/src/main/java/com/android/tests/basic/Main.java [moved from samples/api/src/main/java/com/android/tests/basic/Main.java with 100% similarity]
tests/api/src/main/res/drawable/icon.png [moved from samples/api/src/main/res/drawable/icon.png with 100% similarity]
tests/api/src/main/res/layout/main.xml [moved from samples/api/src/main/res/layout/main.xml with 100% similarity]
tests/api/src/main/res/values/strings.xml [moved from samples/api/src/main/res/values/strings.xml with 100% similarity]
tests/api/src/release/res/values/strings.xml [moved from samples/api/src/release/res/values/strings.xml with 100% similarity]
tests/api/src/test/java/com/android/tests/basic/MainTest.java [moved from samples/api/src/test/java/com/android/tests/basic/MainTest.java with 100% similarity]
tests/applibtest/app/build.gradle [moved from samples/applibtest/app/build.gradle with 100% similarity]
tests/applibtest/app/proguard-project.txt [moved from samples/applibtest/app/proguard-project.txt with 100% similarity]
tests/applibtest/app/src/main/AndroidManifest.xml [moved from samples/applibtest/app/src/main/AndroidManifest.xml with 100% similarity]
tests/applibtest/app/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/applibtest/app/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/applibtest/app/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/applibtest/app/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/applibtest/app/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/applibtest/app/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/applibtest/app/src/main/res/drawable-xhdpi/ic_launcher.png [moved from samples/applibtest/app/src/main/res/drawable-xhdpi/ic_launcher.png with 100% similarity]
tests/applibtest/app/src/main/res/values/strings.xml [moved from samples/applibtest/app/src/main/res/values/strings.xml with 100% similarity]
tests/applibtest/app/src/test/AndroidManifest.xml [moved from samples/applibtest/app/src/test/AndroidManifest.xml with 100% similarity]
tests/applibtest/app/src/test/java/com/android/tests/testprojecttest/lib/LibActivityTest.java [moved from samples/applibtest/app/src/test/java/com/android/tests/testprojecttest/lib/LibActivityTest.java with 100% similarity]
tests/applibtest/app/src/test/java/com/android/tests/testprojecttest/test/AllTests.java [moved from samples/applibtest/app/src/test/java/com/android/tests/testprojecttest/test/AllTests.java with 100% similarity]
tests/applibtest/build.gradle [moved from samples/applibtest/build.gradle with 100% similarity]
tests/applibtest/lib/build.gradle [moved from samples/applibtest/lib/build.gradle with 100% similarity]
tests/applibtest/lib/proguard-project.txt [moved from samples/applibtest/lib/proguard-project.txt with 100% similarity]
tests/applibtest/lib/src/main/AndroidManifest.xml [moved from samples/applibtest/lib/src/main/AndroidManifest.xml with 100% similarity]
tests/applibtest/lib/src/main/aidl/com/android/tests/basicprojectwithaidl/ITest.aidl [moved from samples/applibtest/lib/src/main/aidl/com/android/tests/basicprojectwithaidl/ITest.aidl with 100% similarity]
tests/applibtest/lib/src/main/aidl/com/android/tests/basicprojectwithaidl/Rect.aidl [moved from samples/applibtest/lib/src/main/aidl/com/android/tests/basicprojectwithaidl/Rect.aidl with 100% similarity]
tests/applibtest/lib/src/main/java/com/android/tests/testprojecttest/lib/LibActivity.java [moved from samples/applibtest/lib/src/main/java/com/android/tests/testprojecttest/lib/LibActivity.java with 100% similarity]
tests/applibtest/lib/src/main/res/layout/main.xml [moved from samples/applibtest/lib/src/main/res/layout/main.xml with 100% similarity]
tests/applibtest/lib/src/main/res/values/strings.xml [moved from samples/applibtest/lib/src/main/res/values/strings.xml with 100% similarity]
tests/applibtest/lib/src/test/java/com/android/tests/testprojecttest/lib/LibActivityTest.java [moved from samples/applibtest/lib/src/test/java/com/android/tests/testprojecttest/lib/LibActivityTest.java with 100% similarity]
tests/applibtest/lib/src/test/java/com/android/tests/testprojecttest/test/AllTests.java [moved from samples/applibtest/lib/src/test/java/com/android/tests/testprojecttest/test/AllTests.java with 100% similarity]
tests/applibtest/lib/src/test/res/values/strings.xml [moved from samples/applibtest/lib/src/test/res/values/strings.xml with 100% similarity]
tests/applibtest/settings.gradle [moved from samples/applibtest/settings.gradle with 100% similarity]
tests/basic/build.gradle
tests/dependencies/build.gradle [moved from samples/dependencies/build.gradle with 92% similarity]
tests/dependencies/debug.keystore [moved from samples/basic/debug.keystore with 100% similarity]
tests/dependencies/src/main/AndroidManifest.xml [moved from samples/dependencies/src/main/AndroidManifest.xml with 100% similarity]
tests/dependencies/src/main/java/org/gradle/sample/BuildType.java [moved from samples/dependencies/src/main/java/org/gradle/sample/BuildType.java with 100% similarity]
tests/dependencies/src/main/java/org/gradle/sample/MainActivity.java [moved from samples/dependencies/src/main/java/org/gradle/sample/MainActivity.java with 100% similarity]
tests/dependencies/src/main/java/org/gradle/sample/Person.java [moved from samples/dependencies/src/main/java/org/gradle/sample/Person.java with 100% similarity]
tests/dependencies/src/main/java/org/gradle/sample/ShowPeopleActivity.java [moved from samples/dependencies/src/main/java/org/gradle/sample/ShowPeopleActivity.java with 100% similarity]
tests/dependencies/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/dependencies/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/dependencies/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/dependencies/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/dependencies/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/dependencies/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/dependencies/src/main/res/drawable-xhdpi/ic_launcher.png [moved from samples/dependencies/src/main/res/drawable-xhdpi/ic_launcher.png with 100% similarity]
tests/dependencies/src/main/res/layout/main.xml [moved from samples/dependencies/src/main/res/layout/main.xml with 100% similarity]
tests/dependencies/src/main/res/values/strings.xml [moved from samples/dependencies/src/main/res/values/strings.xml with 100% similarity]
tests/flavored/build.gradle [moved from samples/flavored/build.gradle with 95% similarity]
tests/flavored/debug.keystore [moved from samples/dependencies/debug.keystore with 100% similarity]
tests/flavored/src/f1/res/values/strings.xml [moved from samples/flavored/src/f1/res/values/strings.xml with 100% similarity]
tests/flavored/src/f2/AndroidManifest.xml [moved from samples/flavored/src/f2/AndroidManifest.xml with 100% similarity]
tests/flavored/src/f2/java/com/android/tests/flavored/OtherActivity.java [moved from samples/flavored/src/f2/java/com/android/tests/flavored/OtherActivity.java with 100% similarity]
tests/flavored/src/f2/res/layout/main2.xml [moved from samples/flavored/src/f2/res/layout/main2.xml with 100% similarity]
tests/flavored/src/f2/res/values/strings.xml [moved from samples/flavored/src/f2/res/values/strings.xml with 100% similarity]
tests/flavored/src/main/AndroidManifest.xml [moved from samples/flavored/src/main/AndroidManifest.xml with 100% similarity]
tests/flavored/src/main/java/com/android/tests/flavored/Main.java [moved from samples/flavored/src/main/java/com/android/tests/flavored/Main.java with 100% similarity]
tests/flavored/src/main/res/drawable/icon.png [moved from samples/basic/src/main/res/drawable/icon.png with 100% similarity]
tests/flavored/src/main/res/layout/main.xml [moved from samples/flavored/src/main/res/layout/main.xml with 100% similarity]
tests/flavored/src/main/res/values/strings.xml [moved from samples/flavored/src/main/res/values/strings.xml with 100% similarity]
tests/flavored/src/test/java/com/android/tests/flavored/MainTest.java [moved from samples/flavored/src/test/java/com/android/tests/flavored/MainTest.java with 100% similarity]
tests/flavored/src/testF2/java/com/android/tests/flavored/OtherActivityTest.java [moved from samples/flavored/src/testF2/java/com/android/tests/flavored/OtherActivityTest.java with 100% similarity]
tests/flavorlib/app/build.gradle [moved from samples/flavorlib/app/build.gradle with 100% similarity]
tests/flavorlib/app/proguard-project.txt [moved from samples/flavorlib/app/proguard-project.txt with 100% similarity]
tests/flavorlib/app/src/flavor1/res/values/strings.xml [moved from samples/flavorlib/app/src/flavor1/res/values/strings.xml with 100% similarity]
tests/flavorlib/app/src/flavor2/res/values/strings.xml [moved from samples/flavorlib/app/src/flavor2/res/values/strings.xml with 100% similarity]
tests/flavorlib/app/src/main/AndroidManifest.xml [moved from samples/flavorlib/app/src/main/AndroidManifest.xml with 100% similarity]
tests/flavorlib/app/src/main/java/com/android/tests/flavorlib/app/App.java [moved from samples/flavorlib/app/src/main/java/com/android/tests/flavorlib/app/App.java with 100% similarity]
tests/flavorlib/app/src/main/java/com/android/tests/flavorlib/app/MainActivity.java [moved from samples/flavorlib/app/src/main/java/com/android/tests/flavorlib/app/MainActivity.java with 100% similarity]
tests/flavorlib/app/src/main/res/drawable-hdpi/icon.png [moved from samples/flavorlib/app/src/main/res/drawable-hdpi/icon.png with 100% similarity]
tests/flavorlib/app/src/main/res/drawable-ldpi/icon.png [moved from samples/flavorlib/app/src/main/res/drawable-ldpi/icon.png with 100% similarity]
tests/flavorlib/app/src/main/res/drawable-mdpi/icon.png [moved from samples/flavored/src/main/res/drawable/icon.png with 100% similarity]
tests/flavorlib/app/src/main/res/layout/main.xml [moved from samples/flavorlib/app/src/main/res/layout/main.xml with 100% similarity]
tests/flavorlib/app/src/main/res/values/strings.xml [moved from samples/flavorlib/app/src/main/res/values/strings.xml with 100% similarity]
tests/flavorlib/app/src/main/resources/com/android/tests/flavorlib/app/App.txt [moved from samples/flavorlib/app/src/main/resources/com/android/tests/flavorlib/app/App.txt with 100% similarity]
tests/flavorlib/app/src/test/java/com/android/tests/flavorlib/app/MainActivityTest.java [moved from samples/flavorlib/app/src/test/java/com/android/tests/flavorlib/app/MainActivityTest.java with 100% similarity]
tests/flavorlib/app/src/testFlavor1/java/com/android/tests/flavorlib/app/MainActivityFlavorTest.java [moved from samples/flavorlib/app/src/testFlavor1/java/com/android/tests/flavorlib/app/MainActivityFlavorTest.java with 100% similarity]
tests/flavorlib/app/src/testFlavor2/java/com/android/tests/flavorlib/app/MainActivityFlavorTest.java [moved from samples/flavorlib/app/src/testFlavor2/java/com/android/tests/flavorlib/app/MainActivityFlavorTest.java with 100% similarity]
tests/flavorlib/build.gradle [moved from samples/flavorlib/build.gradle with 100% similarity]
tests/flavorlib/lib1/build.gradle [moved from samples/flavorlib/lib1/build.gradle with 100% similarity]
tests/flavorlib/lib1/proguard-project.txt [moved from samples/flavorlib/lib1/proguard-project.txt with 100% similarity]
tests/flavorlib/lib1/src/main/AndroidManifest.xml [moved from samples/flavorlib/lib1/src/main/AndroidManifest.xml with 100% similarity]
tests/flavorlib/lib1/src/main/java/com/android/tests/flavorlib/lib/Lib.java [moved from samples/flavorlib/lib1/src/main/java/com/android/tests/flavorlib/lib/Lib.java with 100% similarity]
tests/flavorlib/lib1/src/main/java/com/android/tests/flavorlib/lib/MainActivity.java [moved from samples/flavorlib/lib1/src/main/java/com/android/tests/flavorlib/lib/MainActivity.java with 100% similarity]
tests/flavorlib/lib1/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/flavorlib/lib1/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/flavorlib/lib1/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/flavorlib/lib1/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/flavorlib/lib1/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/flavorlib/lib1/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/flavorlib/lib1/src/main/res/layout/lib_main.xml [moved from samples/flavorlib/lib1/src/main/res/layout/lib_main.xml with 100% similarity]
tests/flavorlib/lib1/src/main/res/values/strings.xml [moved from samples/flavorlib/lib1/src/main/res/values/strings.xml with 100% similarity]
tests/flavorlib/lib1/src/main/resources/com/android/tests/flavorlib/lib/Lib.txt [moved from samples/flavorlib/lib1/src/main/resources/com/android/tests/flavorlib/lib/Lib.txt with 100% similarity]
tests/flavorlib/lib1/src/test/java/com/android/tests/flavorlib/lib/MainActivityTest.java [moved from samples/flavorlib/lib1/src/test/java/com/android/tests/flavorlib/lib/MainActivityTest.java with 100% similarity]
tests/flavorlib/lib2/build.gradle [moved from samples/flavorlib/lib2/build.gradle with 100% similarity]
tests/flavorlib/lib2/proguard-project.txt [moved from samples/flavorlib/lib2/proguard-project.txt with 100% similarity]
tests/flavorlib/lib2/src/main/AndroidManifest.xml [moved from samples/flavorlib/lib2/src/main/AndroidManifest.xml with 100% similarity]
tests/flavorlib/lib2/src/main/java/com/android/tests/flavorlib/lib/Lib.java [moved from samples/flavorlib/lib2/src/main/java/com/android/tests/flavorlib/lib/Lib.java with 100% similarity]
tests/flavorlib/lib2/src/main/java/com/android/tests/flavorlib/lib/MainActivity.java [moved from samples/flavorlib/lib2/src/main/java/com/android/tests/flavorlib/lib/MainActivity.java with 100% similarity]
tests/flavorlib/lib2/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/flavorlib/lib2/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/flavorlib/lib2/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/flavorlib/lib2/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/flavorlib/lib2/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/flavorlib/lib2/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/flavorlib/lib2/src/main/res/layout/lib_main.xml [moved from samples/flavorlib/lib2/src/main/res/layout/lib_main.xml with 100% similarity]
tests/flavorlib/lib2/src/main/res/values/strings.xml [moved from samples/flavorlib/lib2/src/main/res/values/strings.xml with 100% similarity]
tests/flavorlib/lib2/src/main/resources/com/android/tests/flavorlib/lib/Lib.txt [moved from samples/flavorlib/lib2/src/main/resources/com/android/tests/flavorlib/lib/Lib.txt with 100% similarity]
tests/flavorlib/lib2/src/test/java/com/android/tests/flavorlib/lib/MainActivityTest.java [moved from samples/flavorlib/lib2/src/test/java/com/android/tests/flavorlib/lib/MainActivityTest.java with 100% similarity]
tests/flavorlib/settings.gradle [moved from samples/flavorlib/settings.gradle with 100% similarity]
tests/flavors/build.gradle [moved from samples/flavors/build.gradle with 100% similarity]
tests/flavors/proguard-project.txt [moved from samples/flavors/proguard-project.txt with 100% similarity]
tests/flavors/src/f1/java/com/android/tests/flavors/group1/SomeClass.java [moved from samples/flavors/src/f1/java/com/android/tests/flavors/group1/SomeClass.java with 100% similarity]
tests/flavors/src/f1/res/values/strings.xml [moved from samples/flavors/src/f1/res/values/strings.xml with 100% similarity]
tests/flavors/src/f2/java/com/android/tests/flavors/group1/SomeClass.java [moved from samples/flavors/src/f2/java/com/android/tests/flavors/group1/SomeClass.java with 100% similarity]
tests/flavors/src/f2/res/values/strings.xml [moved from samples/flavors/src/f2/res/values/strings.xml with 100% similarity]
tests/flavors/src/fa/java/com/android/tests/flavors/group2/SomeClass.java [moved from samples/flavors/src/fa/java/com/android/tests/flavors/group2/SomeClass.java with 100% similarity]
tests/flavors/src/fa/res/values/strings.xml [moved from samples/flavors/src/fa/res/values/strings.xml with 100% similarity]
tests/flavors/src/fb/java/com/android/tests/flavors/group2/SomeClass.java [moved from samples/flavors/src/fb/java/com/android/tests/flavors/group2/SomeClass.java with 100% similarity]
tests/flavors/src/fb/res/values/strings.xml [moved from samples/flavors/src/fb/res/values/strings.xml with 100% similarity]
tests/flavors/src/main/AndroidManifest.xml [moved from samples/flavors/src/main/AndroidManifest.xml with 100% similarity]
tests/flavors/src/main/java/com/android/tests/flavors/MainActivity.java [moved from samples/flavors/src/main/java/com/android/tests/flavors/MainActivity.java with 100% similarity]
tests/flavors/src/main/res/drawable-hdpi/icon.png [moved from samples/flavors/src/main/res/drawable-hdpi/icon.png with 100% similarity]
tests/flavors/src/main/res/drawable-ldpi/icon.png [moved from samples/flavors/src/main/res/drawable-ldpi/icon.png with 100% similarity]
tests/flavors/src/main/res/drawable-mdpi/icon.png [moved from samples/flavorlib/app/src/main/res/drawable-mdpi/icon.png with 100% similarity]
tests/flavors/src/main/res/layout/main.xml [moved from samples/flavors/src/main/res/layout/main.xml with 100% similarity]
tests/flavors/src/main/res/values/strings.xml [moved from samples/flavors/src/main/res/values/strings.xml with 100% similarity]
tests/flavors/src/testF1/java/com/android/tests/flavors/MainActivityGroup1Test.java [moved from samples/flavors/src/testF1/java/com/android/tests/flavors/MainActivityGroup1Test.java with 100% similarity]
tests/flavors/src/testF2/java/com/android/tests/flavors/MainActivityGroup1Test.java [moved from samples/flavors/src/testF2/java/com/android/tests/flavors/MainActivityGroup1Test.java with 100% similarity]
tests/flavors/src/testFa/java/com/android/tests/flavors/MainActivityGroup2Test.java [moved from samples/flavors/src/testFa/java/com/android/tests/flavors/MainActivityGroup2Test.java with 100% similarity]
tests/flavors/src/testFb/java/com/android/tests/flavors/MainActivityGroup2Test.java [moved from samples/flavors/src/testFb/java/com/android/tests/flavors/MainActivityGroup2Test.java with 100% similarity]
tests/libsTest/app/build.gradle [moved from samples/libsTest/app/build.gradle with 100% similarity]
tests/libsTest/app/proguard-project.txt [moved from samples/libsTest/app/proguard-project.txt with 100% similarity]
tests/libsTest/app/src/main/AndroidManifest.xml [moved from samples/libsTest/app/src/main/AndroidManifest.xml with 100% similarity]
tests/libsTest/app/src/main/java/com/android/tests/libstest/app/App.java [moved from samples/libsTest/app/src/main/java/com/android/tests/libstest/app/App.java with 100% similarity]
tests/libsTest/app/src/main/java/com/android/tests/libstest/app/MainActivity.java [moved from samples/libsTest/app/src/main/java/com/android/tests/libstest/app/MainActivity.java with 100% similarity]
tests/libsTest/app/src/main/res/drawable-hdpi/icon.png [moved from samples/libsTest/app/src/main/res/drawable-hdpi/icon.png with 100% similarity]
tests/libsTest/app/src/main/res/drawable-ldpi/icon.png [moved from samples/libsTest/app/src/main/res/drawable-ldpi/icon.png with 100% similarity]
tests/libsTest/app/src/main/res/drawable-mdpi/icon.png [moved from samples/flavors/src/main/res/drawable-mdpi/icon.png with 100% similarity]
tests/libsTest/app/src/main/res/layout/main.xml [moved from samples/libsTest/app/src/main/res/layout/main.xml with 100% similarity]
tests/libsTest/app/src/main/res/values/strings.xml [moved from samples/libsTest/app/src/main/res/values/strings.xml with 100% similarity]
tests/libsTest/app/src/main/resources/com/android/tests/libstest/app/App.txt [moved from samples/libsTest/app/src/main/resources/com/android/tests/libstest/app/App.txt with 100% similarity]
tests/libsTest/app/src/test/java/com/android/tests/libstest/app/MainActivityTest.java [moved from samples/libsTest/app/src/test/java/com/android/tests/libstest/app/MainActivityTest.java with 100% similarity]
tests/libsTest/build.gradle [moved from samples/libsTest/build.gradle with 100% similarity]
tests/libsTest/lib1/build.gradle [moved from samples/libsTest/lib1/build.gradle with 100% similarity]
tests/libsTest/lib1/proguard-project.txt [moved from samples/libsTest/lib1/proguard-project.txt with 100% similarity]
tests/libsTest/lib1/src/main/AndroidManifest.xml [moved from samples/libsTest/lib1/src/main/AndroidManifest.xml with 100% similarity]
tests/libsTest/lib1/src/main/java/com/android/tests/libstest/lib1/Lib1.java [moved from samples/libsTest/lib1/src/main/java/com/android/tests/libstest/lib1/Lib1.java with 100% similarity]
tests/libsTest/lib1/src/main/java/com/android/tests/libstest/lib1/MainActivity.java [moved from samples/libsTest/lib1/src/main/java/com/android/tests/libstest/lib1/MainActivity.java with 100% similarity]
tests/libsTest/lib1/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/libsTest/lib1/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/libsTest/lib1/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/libsTest/lib1/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/libsTest/lib1/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/libsTest/lib1/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/libsTest/lib1/src/main/res/layout/lib1_main.xml [moved from samples/libsTest/lib1/src/main/res/layout/lib1_main.xml with 100% similarity]
tests/libsTest/lib1/src/main/res/values/strings.xml [moved from samples/libsTest/lib1/src/main/res/values/strings.xml with 100% similarity]
tests/libsTest/lib1/src/main/resources/com/android/tests/libstest/lib1/Lib1.txt [moved from samples/libsTest/lib1/src/main/resources/com/android/tests/libstest/lib1/Lib1.txt with 100% similarity]
tests/libsTest/lib1/src/test/java/com/android/tests/libstest/lib1/MainActivityTest.java [moved from samples/libsTest/lib1/src/test/java/com/android/tests/libstest/lib1/MainActivityTest.java with 100% similarity]
tests/libsTest/lib2/build.gradle [moved from samples/libsTest/lib2/build.gradle with 100% similarity]
tests/libsTest/lib2/proguard-project.txt [moved from samples/libsTest/lib2/proguard-project.txt with 100% similarity]
tests/libsTest/lib2/src/main/AndroidManifest.xml [moved from samples/libsTest/lib2/src/main/AndroidManifest.xml with 100% similarity]
tests/libsTest/lib2/src/main/java/com/android/tests/libstest/lib2/Lib2.java [moved from samples/libsTest/lib2/src/main/java/com/android/tests/libstest/lib2/Lib2.java with 100% similarity]
tests/libsTest/lib2/src/main/java/com/android/tests/libstest/lib2/MainActivity.java [moved from samples/libsTest/lib2/src/main/java/com/android/tests/libstest/lib2/MainActivity.java with 100% similarity]
tests/libsTest/lib2/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/libsTest/lib2/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/libsTest/lib2/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/libsTest/lib2/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/libsTest/lib2/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/libsTest/lib2/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/libsTest/lib2/src/main/res/layout/lib2_main.xml [moved from samples/libsTest/lib2/src/main/res/layout/lib2_main.xml with 100% similarity]
tests/libsTest/lib2/src/main/res/values/strings.xml [moved from samples/libsTest/lib2/src/main/res/values/strings.xml with 100% similarity]
tests/libsTest/lib2/src/main/resources/com/android/tests/libstest/lib2/Lib2.txt [moved from samples/libsTest/lib2/src/main/resources/com/android/tests/libstest/lib2/Lib2.txt with 100% similarity]
tests/libsTest/lib2/src/test/java/com/android/tests/libstest/lib2/MainActivityTest.java [moved from samples/libsTest/lib2/src/test/java/com/android/tests/libstest/lib2/MainActivityTest.java with 100% similarity]
tests/libsTest/settings.gradle [moved from samples/libsTest/settings.gradle with 100% similarity]
tests/migrated/AndroidManifest.xml [moved from samples/basic/src/main/AndroidManifest.xml with 100% similarity]
tests/migrated/assets/notice.txt [moved from samples/basic/src/main/assets/notice.txt with 100% similarity]
tests/migrated/build.gradle [moved from samples/migrated/build.gradle with 100% similarity]
tests/migrated/res/drawable/icon.png [moved from samples/libsTest/app/src/main/res/drawable-mdpi/icon.png with 100% similarity]
tests/migrated/res/layout/main.xml [moved from samples/basic/src/main/res/layout/main.xml with 100% similarity]
tests/migrated/res/raw/notice.txt [moved from samples/basic/src/main/res/raw/notice.txt with 100% similarity]
tests/migrated/res/values/strings.xml [moved from samples/basic/src/main/res/values/strings.xml with 100% similarity]
tests/migrated/src/com/android/tests/basic/Main.java [moved from samples/basic/src/main/java/com/android/tests/basic/Main.java with 100% similarity]
tests/migrated/tests/src/com/android/tests/basic/MainTest.java [moved from samples/basic/src/test/java/com/android/tests/basic/MainTest.java with 100% similarity]
tests/multiproject/app/build.gradle [moved from samples/multiproject/app/build.gradle with 100% similarity]
tests/multiproject/app/src/main/AndroidManifest.xml [moved from samples/multiproject/app/src/main/AndroidManifest.xml with 100% similarity]
tests/multiproject/app/src/main/java/com/example/android/multiproject/MainActivity.java [moved from samples/multiproject/app/src/main/java/com/example/android/multiproject/MainActivity.java with 100% similarity]
tests/multiproject/app/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/multiproject/app/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/multiproject/app/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/multiproject/app/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/multiproject/app/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/multiproject/app/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/multiproject/app/src/main/res/drawable-xhdpi/ic_launcher.png [moved from samples/multiproject/app/src/main/res/drawable-xhdpi/ic_launcher.png with 100% similarity]
tests/multiproject/app/src/main/res/layout/main.xml [moved from samples/multiproject/app/src/main/res/layout/main.xml with 100% similarity]
tests/multiproject/app/src/main/res/values/strings.xml [moved from samples/multiproject/app/src/main/res/values/strings.xml with 100% similarity]
tests/multiproject/baseLibrary/build.gradle [moved from samples/multiproject/baseLibrary/build.gradle with 100% similarity]
tests/multiproject/baseLibrary/src/main/AndroidManifest.xml [moved from samples/multiproject/baseLibrary/src/main/AndroidManifest.xml with 100% similarity]
tests/multiproject/baseLibrary/src/main/java/com/sample/android/multiproject/library/PersonView.java [moved from samples/multiproject/baseLibrary/src/main/java/com/sample/android/multiproject/library/PersonView.java with 100% similarity]
tests/multiproject/build.gradle [moved from samples/multiproject/build.gradle with 100% similarity]
tests/multiproject/library/build.gradle [moved from samples/multiproject/library/build.gradle with 100% similarity]
tests/multiproject/library/src/main/AndroidManifest.xml [moved from samples/multiproject/library/src/main/AndroidManifest.xml with 100% similarity]
tests/multiproject/library/src/main/java/com/example/android/multiproject/library/ShowPeopleActivity.java [moved from samples/multiproject/library/src/main/java/com/example/android/multiproject/library/ShowPeopleActivity.java with 100% similarity]
tests/multiproject/library/src/main/res/values/strings.xml [moved from samples/multiproject/library/src/main/res/values/strings.xml with 100% similarity]
tests/multiproject/settings.gradle [moved from samples/multiproject/settings.gradle with 100% similarity]
tests/multiproject/util/build.gradle [moved from samples/multiproject/util/build.gradle with 100% similarity]
tests/multiproject/util/src/main/java/com/example/android/multiproject/person/People.java [moved from samples/multiproject/util/src/main/java/com/example/android/multiproject/person/People.java with 100% similarity]
tests/multiproject/util/src/main/java/com/example/android/multiproject/person/Person.java [moved from samples/multiproject/util/src/main/java/com/example/android/multiproject/person/Person.java with 100% similarity]
tests/repo/.gitignore [moved from samples/repo/.gitignore with 100% similarity]
tests/repo/app/build.gradle [moved from samples/repo/app/build.gradle with 100% similarity]
tests/repo/app/src/main/AndroidManifest.xml [moved from samples/repo/app/src/main/AndroidManifest.xml with 100% similarity]
tests/repo/app/src/main/java/com/example/android/multiproject/MainActivity.java [moved from samples/repo/app/src/main/java/com/example/android/multiproject/MainActivity.java with 100% similarity]
tests/repo/app/src/main/res/drawable-hdpi/ic_launcher.png [moved from samples/repo/app/src/main/res/drawable-hdpi/ic_launcher.png with 100% similarity]
tests/repo/app/src/main/res/drawable-ldpi/ic_launcher.png [moved from samples/repo/app/src/main/res/drawable-ldpi/ic_launcher.png with 100% similarity]
tests/repo/app/src/main/res/drawable-mdpi/ic_launcher.png [moved from samples/repo/app/src/main/res/drawable-mdpi/ic_launcher.png with 100% similarity]
tests/repo/app/src/main/res/drawable-xhdpi/ic_launcher.png [moved from samples/repo/app/src/main/res/drawable-xhdpi/ic_launcher.png with 100% similarity]
tests/repo/app/src/main/res/layout/main.xml [moved from samples/repo/app/src/main/res/layout/main.xml with 100% similarity]
tests/repo/app/src/main/res/values/strings.xml [moved from samples/repo/app/src/main/res/values/strings.xml with 100% similarity]
tests/repo/baseLibrary/build.gradle [moved from samples/repo/baseLibrary/build.gradle with 100% similarity]
tests/repo/baseLibrary/src/main/AndroidManifest.xml [moved from samples/repo/baseLibrary/src/main/AndroidManifest.xml with 100% similarity]
tests/repo/baseLibrary/src/main/java/com/sample/android/multiproject/library/PersonView.java [moved from samples/repo/baseLibrary/src/main/java/com/sample/android/multiproject/library/PersonView.java with 100% similarity]
tests/repo/library/build.gradle [moved from samples/repo/library/build.gradle with 100% similarity]
tests/repo/library/src/main/AndroidManifest.xml [moved from samples/repo/library/src/main/AndroidManifest.xml with 100% similarity]
tests/repo/library/src/main/java/com/example/android/multiproject/library/ShowPeopleActivity.java [moved from samples/repo/library/src/main/java/com/example/android/multiproject/library/ShowPeopleActivity.java with 100% similarity]
tests/repo/library/src/main/res/values/strings.xml [moved from samples/repo/library/src/main/res/values/strings.xml with 100% similarity]
tests/repo/util/build.gradle [moved from samples/repo/util/build.gradle with 100% similarity]
tests/repo/util/src/main/java/com/example/android/multiproject/person/People.java [moved from samples/repo/util/src/main/java/com/example/android/multiproject/person/People.java with 100% similarity]
tests/repo/util/src/main/java/com/example/android/multiproject/person/Person.java [moved from samples/repo/util/src/main/java/com/example/android/multiproject/person/Person.java with 100% similarity]
tests/tictactoe/README.txt [moved from samples/tictactoe/README.txt with 100% similarity]
tests/tictactoe/app/build.gradle [moved from samples/tictactoe/app/build.gradle with 100% similarity]
tests/tictactoe/app/src/main/AndroidManifest.xml [moved from samples/tictactoe/app/src/main/AndroidManifest.xml with 100% similarity]
tests/tictactoe/app/src/main/java/com/example/android/tictactoe/MainActivity.java [moved from samples/tictactoe/app/src/main/java/com/example/android/tictactoe/MainActivity.java with 100% similarity]
tests/tictactoe/app/src/main/res/drawable/icon.png [moved from samples/tictactoe/app/src/main/res/drawable/icon.png with 100% similarity]
tests/tictactoe/app/src/main/res/layout/main.xml [moved from samples/tictactoe/app/src/main/res/layout/main.xml with 100% similarity]
tests/tictactoe/app/src/main/res/values/strings.xml [moved from samples/tictactoe/app/src/main/res/values/strings.xml with 100% similarity]
tests/tictactoe/build.gradle [moved from samples/tictactoe/build.gradle with 100% similarity]
tests/tictactoe/lib/build.gradle [moved from samples/tictactoe/lib/build.gradle with 100% similarity]
tests/tictactoe/lib/src/main/AndroidManifest.xml [moved from samples/tictactoe/lib/src/main/AndroidManifest.xml with 100% similarity]
tests/tictactoe/lib/src/main/java/com/example/android/tictactoe/library/GameActivity.java [moved from samples/tictactoe/lib/src/main/java/com/example/android/tictactoe/library/GameActivity.java with 100% similarity]
tests/tictactoe/lib/src/main/java/com/example/android/tictactoe/library/GameView.java [moved from samples/tictactoe/lib/src/main/java/com/example/android/tictactoe/library/GameView.java with 100% similarity]
tests/tictactoe/lib/src/main/res/drawable/lib_bg.9.png [moved from samples/tictactoe/lib/src/main/res/drawable/lib_bg.9.png with 100% similarity]
tests/tictactoe/lib/src/main/res/drawable/lib_circle.png [moved from samples/tictactoe/lib/src/main/res/drawable/lib_circle.png with 100% similarity]
tests/tictactoe/lib/src/main/res/drawable/lib_cross.png [moved from samples/tictactoe/lib/src/main/res/drawable/lib_cross.png with 100% similarity]
tests/tictactoe/lib/src/main/res/layout-land/lib_game.xml [moved from samples/tictactoe/lib/src/main/res/layout-land/lib_game.xml with 100% similarity]
tests/tictactoe/lib/src/main/res/layout/lib_game.xml [moved from samples/tictactoe/lib/src/main/res/layout/lib_game.xml with 100% similarity]
tests/tictactoe/lib/src/main/res/values/strings.xml [moved from samples/tictactoe/lib/src/main/res/values/strings.xml with 100% similarity]
tests/tictactoe/settings.gradle [moved from samples/tictactoe/settings.gradle with 100% similarity]

index 4c28e93..8968a13 100644 (file)
@@ -7,12 +7,12 @@ local.properties
 /build
 gradle/build
 tests/*/build
-samples/*/build
-samples/multiproject/*/build
-samples/tictactoe/*/build
-samples/applibtest/*/build
-samples/flavorlib/*/build
-samples/libsTest/*/build
-samples/repo/*/build
+tests/*/build
+tests/multiproject/*/build
+tests/tictactoe/*/build
+tests/applibtest/*/build
+tests/flavorlib/*/build
+tests/libsTest/*/build
+tests/repo/*/build
 /repo
 /out
index 6dc2a17..af69e01 100644 (file)
Binary files a/builder/prebuilts/sdklib.jar and b/builder/prebuilts/sdklib.jar differ
index dc5c249..d777023 100644 (file)
@@ -71,7 +71,6 @@ class AppPlugin extends com.android.build.gradle.BasePlugin implements org.gradl
         extension = project.extensions.create('android', AppExtension,
                 this, (ProjectInternal) project, instantiator,
                 buildTypeContainer, productFlavorContainer)
-        extension.
         setDefaultConfig(extension.defaultConfig, extension.sourceSetsContainer)
 
         buildTypeContainer.whenObjectAdded { BuildType buildType ->
diff --git a/gradle/src/test/groovy/com/android/build/gradle/ProjectTest.groovy b/gradle/src/test/groovy/com/android/build/gradle/ProjectTest.groovy
new file mode 100644 (file)
index 0000000..045d50e
--- /dev/null
@@ -0,0 +1,154 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.build.gradle
+
+import com.android.build.gradle.internal.BaseTest
+import com.android.sdklib.internal.project.ProjectProperties
+import com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy
+import com.google.common.collect.Sets
+import org.gradle.tooling.GradleConnector
+import org.gradle.tooling.ProjectConnection
+
+/**
+ */
+class ProjectTest extends BaseTest {
+
+    private File testDir
+    private File sdkDir
+    private static Set<String> builtProjects = Sets.newHashSet()
+
+    @Override
+    protected void setUp() throws Exception {
+        testDir = getTestDir()
+        sdkDir = getSdkDir()
+    }
+
+    void testAidl() {
+        buildProject("aidl")
+    }
+
+    void testApi() {
+        buildProject("api")
+    }
+
+    void testAppLibTest() {
+        buildProject("applibtest")
+    }
+
+    void testBasic() {
+        buildProject("basic")
+    }
+
+    void testDependencies() {
+        buildProject("dependencies")
+    }
+
+    void testFlavored() {
+        buildProject("flavored")
+    }
+
+    void testFlavorLib() {
+        buildProject("flavorlib")
+    }
+
+    void testFlavors() {
+        buildProject("flavors")
+    }
+
+    void testlibsTest() {
+        buildProject("libsTest")
+    }
+
+    void testMigrated() {
+        buildProject("migrated")
+    }
+
+    void testMultiProject() {
+        buildProject("multiproject")
+    }
+
+    void testRepo() {
+        // this is not an actual project, but we add it so that the catch-all below doesn't
+        // try to build it again
+        builtProjects.add("repo")
+
+        File repo = new File(testDir, "repo")
+
+        try {
+            buildProject(new File(repo, "util"), "clean", "uploadArchives")
+            buildProject(new File(repo, "baseLibrary"), "clean", "uploadArchives")
+            buildProject(new File(repo, "library"), "clean", "uploadArchives")
+            buildProject(new File(repo, "app"), "clean", "assemble")
+        } finally {
+            // clean up the test repository.
+            File testrepo = new File(repo, "testrepo")
+            testrepo.deleteDir()
+        }
+    }
+
+    void testTicTacToe() {
+        buildProject("tictactoe")
+    }
+
+    void testOtherProjects() {
+        File[] projects = testDir.listFiles()
+        for (File project : projects) {
+            String name = project.name
+            if (!builtProjects.contains(name)) {
+                System.out.println(">>>> " + name)
+                buildProject(name)
+            }
+        }
+    }
+
+    private void buildProject(String name) {
+        File project = new File(testDir, name)
+        builtProjects.add(name)
+        System.out.println("### " + name)
+
+        buildProject(project, "clean", "assemble")
+    }
+
+    private void buildProject(File project, String... tasks) {
+        File localProp = createLocalProp(project)
+
+        try {
+
+            GradleConnector connector = GradleConnector.newConnector()
+
+            ProjectConnection connection = connector
+                    .useGradleVersion("1.2")
+                    .forProjectDirectory(project)
+                    .connect()
+//                    .useInstallation(new File("/Users/xav/Desktop/gradle-1.2"))
+
+            connection.newBuild().forTasks(tasks).run()
+        } finally {
+            localProp.delete()
+        }
+    }
+
+
+    private File createLocalProp(File project) {
+        ProjectPropertiesWorkingCopy localProp = ProjectProperties.create(
+                project.absolutePath, ProjectProperties.PropertyType.LOCAL)
+        localProp.setProperty(ProjectProperties.PROPERTY_SDK, sdkDir.absolutePath)
+        localProp.save()
+
+        return (File) localProp.file
+    }
+}
index 2a97455..c83fc08 100644 (file)
@@ -24,22 +24,19 @@ import java.security.CodeSource
  * Base class for tests.
  */
 public abstract class BaseTest extends TestCase {
+
     /**
-     * Returns the Android source tree root dir.
-     * @return the root dir or null if it couldn't be computed.
+     * Returns the gradle plugin test folder.
      */
-    protected File getTestDir() {
+    protected File getRootDir() {
         CodeSource source = getClass().getProtectionDomain().getCodeSource()
         if (source != null) {
             URL location = source.getLocation();
             try {
                 File dir = new File(location.toURI())
                 assertTrue(dir.getPath(), dir.exists())
-                System.out.println(dir.absolutePath)
-
-                File rootDir = dir.getParentFile().getParentFile().getParentFile().getParentFile()
 
-                return new File(rootDir, "tests")
+                return dir.getParentFile().getParentFile().getParentFile().getParentFile()
             } catch (URISyntaxException e) {
                 fail(e.getLocalizedMessage())
             }
@@ -47,4 +44,40 @@ public abstract class BaseTest extends TestCase {
 
         fail("Fail to get tests folder")
     }
+
+
+    /**
+     * Returns the root folder for the tests projects.
+     */
+    protected File getTestDir() {
+        File rootDir = getRootDir()
+        return new File(rootDir, "tests")
+    }
+
+    /**
+     * Returns the SDK folder as built from the Android source tree.
+     * @return
+     */
+    protected File getSdkDir() {
+        // get the gradle project root dir.
+        File rootDir = getRootDir()
+
+        // go up twice and get the root Android dir.
+        File androidRootDir = rootDir.getParentFile().getParentFile()
+
+        // get the sdk folder
+        File sdk = new File(androidRootDir, "out" + File.separatorChar + "host" + File.separatorChar + "darwin-x86" + File.separatorChar + "sdk")
+
+        File[] files = sdk.listFiles(new FilenameFilter() {
+
+            @Override
+            boolean accept(File file, String s) {
+                return s.startsWith("android-sdk_") && new File(file,s ).isDirectory()
+            }
+        })
+
+        if (files.length == 1) {
+            return files[0]
+        }
+    }
 }
diff --git a/samples/basic/build.gradle b/samples/basic/build.gradle
deleted file mode 100644 (file)
index 3822a01..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// A basic Android application that follows all the conventions
-//
-buildscript {
-    repositories {
-        maven { url '../../repo' }
-    }
-    dependencies {
-        classpath 'com.android.tools.build:gradle:0.3-SNAPSHOT'
-    }
-}
-apply plugin: 'android'
-
-android {
-    target "android-15"
-    testBuildType "debug"
-
-    defaultConfig {
-        versionCode 12
-        versionName "2.0"
-        minSdkVersion 16
-        targetSdkVersion 16
-
-        signingStoreLocation "debug.keystore"
-        signingStorePassword "android"
-        signingKeyAlias "androiddebugkey"
-        signingKeyPassword "android"
-        buildConfig "private final static boolean DEFAULT = true;", \
-                    "private final static String FOO = \"foo\";"
-    }
-
-    buildTypes {
-        debug {
-            packageNameSuffix ".debug"
-
-            buildConfig "private final static boolean DEBUG2 = false;"
-        }
-    }
-
-    aaptOptions {
-        noCompress 'txt'
-    }
-}
\ No newline at end of file
diff --git a/samples/basic/src/release/res/values/strings.xml b/samples/basic/src/release/res/values/strings.xml
deleted file mode 100644 (file)
index 532909c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-    <string name="app_name">_Test-Basic-Release</string>
-</resources>
diff --git a/samples/flavored/debug.keystore b/samples/flavored/debug.keystore
deleted file mode 100644 (file)
index 389278e..0000000
Binary files a/samples/flavored/debug.keystore and /dev/null differ
diff --git a/samples/migrated/AndroidManifest.xml b/samples/migrated/AndroidManifest.xml
deleted file mode 100644 (file)
index 4f8d570..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
-      package="com.android.tests.basic">
-    <application android:label="@string/app_name" android:icon="@drawable/icon">
-        <activity android:name=".Main"
-                  android:label="@string/app_name">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.LAUNCHER" />
-            </intent-filter>
-        </activity>
-    </application>
-
-    <uses-permission android:name="com.blah" />
-
-    <permission-group android:name="foo.permission-group.COST_MONEY"
-        android:label="@string/app_name"
-        android:description="@string/app_name" />
-
-    <permission android:name="foo.permission.SEND_SMS"
-        android:permissionGroup="foo.permission-group.COST_MONEY"
-        android:label="@string/app_name"
-        android:description="@string/app_name" />
-
-    <permission android:name="foo.blah.SEND_SMS"
-        android:permissionGroup="foo.permission-group.COST_MONEY"
-        android:label="@string/app_name"
-        android:description="@string/app_name" />
-
-</manifest>
diff --git a/samples/migrated/assets/notice.txt b/samples/migrated/assets/notice.txt
deleted file mode 100644 (file)
index 33ff961..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-
-   Copyright (c) 2005-2012, The Android Open Source Project
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
diff --git a/samples/migrated/res/drawable/icon.png b/samples/migrated/res/drawable/icon.png
deleted file mode 100644 (file)
index a07c69f..0000000
Binary files a/samples/migrated/res/drawable/icon.png and /dev/null differ
diff --git a/samples/migrated/res/layout/main.xml b/samples/migrated/res/layout/main.xml
deleted file mode 100644 (file)
index b199751..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:orientation="vertical"
-    android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    >
-<TextView
-    android:layout_width="fill_parent"
-    android:layout_height="wrap_content"
-    android:text="Test App - Basic"
-    android:id="@+id/text"
-    />
-</LinearLayout>
-
diff --git a/samples/migrated/res/raw/notice.txt b/samples/migrated/res/raw/notice.txt
deleted file mode 100644 (file)
index 33ff961..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-
-   Copyright (c) 2005-2012, The Android Open Source Project
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
diff --git a/samples/migrated/res/values/strings.xml b/samples/migrated/res/values/strings.xml
deleted file mode 100644 (file)
index 60ea2d0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-    <string name="app_name">_Test-Basic</string>
-</resources>
diff --git a/samples/migrated/src/com/android/tests/basic/Main.java b/samples/migrated/src/com/android/tests/basic/Main.java
deleted file mode 100644 (file)
index 2b0e698..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-package com.android.tests.basic;
-
-import android.app.Activity;
-import android.os.Bundle;
-
-public class Main extends Activity
-{
-    /** Called when the activity is first created. */
-    @Override
-    public void onCreate(Bundle savedInstanceState)
-    {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.main);
-    }
-}
diff --git a/samples/migrated/tests/src/com/android/tests/basic/MainTest.java b/samples/migrated/tests/src/com/android/tests/basic/MainTest.java
deleted file mode 100644 (file)
index 7cf7329..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.android.tests.basic;
-
-import android.test.ActivityInstrumentationTestCase2;
-import android.test.suitebuilder.annotation.MediumTest;
-import android.widget.TextView;
-
-public class MainTest extends ActivityInstrumentationTestCase2<Main> {
-
-    private TextView mTextView;
-
-    /**
-     * Creates an {@link ActivityInstrumentationTestCase2} that tests the {@link Main} activity.
-     */
-    public MainTest() {
-        super(Main.class);
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-        final Main a = getActivity();
-        // ensure a valid handle to the activity has been returned
-        assertNotNull(a);
-        mTextView = (TextView) a.findViewById(R.id.text);
-    }
-
-    /**
-     * The name 'test preconditions' is a convention to signal that if this
-     * test doesn't pass, the test case was not set up properly and it might
-     * explain any and all failures in other tests.  This is not guaranteed
-     * to run before other tests, as junit uses reflection to find the tests.
-     */
-    @MediumTest
-    public void testPreconditions() {
-        assertNotNull(mTextView);
-    }
-}
-
similarity index 78%
rename from samples/aidl/src/main/res/values/strings.xml
rename to tests/aidl/src/main/res/values/strings.xml
index cc72e03ea8686d8b213f5138ac19b4b91081faa1..be6901282f2da208c5e6161224f783772d0f05d4 100644 (file)
@@ -18,15 +18,15 @@ android.buildVariants.each { variant ->
     // does some processing (or not)
     // and outputs a jar
     def jarTask = tasks.add(name: "jar${variant.name.capitalize()}", type: Jar) {
-        from           variant.compileTask.destinationDir
+        from           variant.javaCompile.destinationDir
         destinationDir file("${buildDir}/jars/${variant.dirName}")
         baseName       "classes"
     }
 
     // this task depends on the compilation task
-    jarTask.dependsOn variant.compileTask
+    jarTask.dependsOn variant.javaCompile
 
     // now make the dex task depend on it and use its output
-    variant.dexTask.dependsOn jarTask
-    variant.dexTask.sourceFiles = files(jarTask.archivePath).files
+    variant.dex.dependsOn jarTask
+    variant.dex.sourceFiles = files(jarTask.archivePath).files
 }
\ No newline at end of file
index 3822a01b63d7e1ffa829fb697836ac8e37890884..6f824f8ada244fce342dfdddff7749ff59337cff 100644 (file)
@@ -21,7 +21,7 @@ android {
         minSdkVersion 16
         targetSdkVersion 16
 
-        signingStoreLocation "debug.keystore"
+        signingStoreLocation "$rootDir/debug.keystore"
         signingStorePassword "android"
         signingKeyAlias "androiddebugkey"
         signingKeyPassword "android"
similarity index 92%
rename from samples/applibtest/lib/src/main/res/values/strings.xml
rename to tests/applibtest/lib/src/main/res/values/strings.xml
index 206da96c317d1d21e5255a05756075fd69e47132..2a0ca626abd00482f8737ba1a539028c4c356ccc 100644 (file)
@@ -26,7 +26,7 @@ android {
     testBuildType "blah"
 
        defaultConfig {
-               signingStoreLocation "debug.keystore"
+               signingStoreLocation "$rootDir/debug.keystore"
                signingStorePassword "android"
                signingKeyAlias "androiddebugkey"
                signingKeyPassword "android"
similarity index 95%
rename from samples/dependencies/src/main/AndroidManifest.xml
rename to tests/dependencies/src/main/AndroidManifest.xml
index 6daf4a48563f759c1fdf200e3c8657b56b452199..7464ca0a3da677dd53bc9a041b9050e460491f88 100644 (file)
@@ -17,7 +17,7 @@ android {
     
 
     defaultConfig {
-        signingStoreLocation = "debug.keystore"
+        signingStoreLocation = "$rootDir/debug.keystore"
         signingStorePassword = "android"
         signingKeyAlias = "androiddebugkey"
         signingKeyPassword = "android"
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge