aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2013-01-15 12:13:47 -0800
committerXavier Ducrohet <xav@android.com>2013-01-15 12:18:46 -0800
commita5d2eee4e1c9bd3df06b17ab9b26a35708b1f043 (patch)
tree7c0ba50d4bd05c24aad5c4147c42653d67e372ff /tests
parenta4ebba88ebb51a85ae7acd08fa01785c69ddaa30 (diff)
downloadbuild-a5d2eee4e1c9bd3df06b17ab9b26a35708b1f043.tar.gz
Default to Java 1.6 when building and allow customization.
New DSL to customize source/targetCompatibility: android { compileOptions { sourceCompatibility = "1.6" targetCompatibility = "1.6" } } dex options will probably all move in there too in the future. Change-Id: Ibab6fb8c44e7193274720f7340f0f1f409c6e3a4
Diffstat (limited to 'tests')
-rw-r--r--tests/flavorlib/app/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/flavorlib/app/build.gradle b/tests/flavorlib/app/build.gradle
index d9bfaf5..6d3041a 100644
--- a/tests/flavorlib/app/build.gradle
+++ b/tests/flavorlib/app/build.gradle
@@ -12,7 +12,7 @@ android {
}
}
- test {
+ testOptions {
resultsDir = "$project.buildDir/foo/results"
reportDir = "$project.buildDir/foo/report"
}