Don't run dx test in emulator

This commit is contained in:
Mikhael Bogdanov
2021-01-29 08:22:18 +01:00
parent 1c612376dd
commit 844d2572e5
3 changed files with 9 additions and 38 deletions
@@ -1,7 +1,4 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
isD8Enabled = project.findProperty('android.enableD8').toBoolean()
}
buildscript {
repositories {
google()
@@ -60,11 +57,9 @@ android {
resultsDir = "build/test/results"
}
if (isD8Enabled) {
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
flavorDimensions "box"
@@ -86,15 +81,12 @@ android {
dimension "box"
}
jvm80 {
dimension "box"
}
if (isD8Enabled) {
jvm80 {
dimension "box"
}
reflectjvm80 {
dimension "box"
}
reflectjvm80 {
dimension "box"
}
}
@@ -1,3 +1,2 @@
#don't try to download android specific tools within gradle: licence acceptance will be required
android.builder.sdkDownload=false
android.enableD8=true
android.builder.sdkDownload=false