Enable multidex in android box tests
This commit is contained in:
@@ -32,6 +32,7 @@ android {
|
|||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
testApplicationId "org.jetbrains.kotlin.android.tests.gradle"
|
testApplicationId "org.jetbrains.kotlin.android.tests.gradle"
|
||||||
testInstrumentationRunner "android.test.InstrumentationTestRunner"
|
testInstrumentationRunner "android.test.InstrumentationTestRunner"
|
||||||
|
multiDexEnabled true
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
@@ -67,9 +68,8 @@ android {
|
|||||||
|
|
||||||
dexOptions {
|
dexOptions {
|
||||||
dexInProcess false
|
dexInProcess false
|
||||||
javaMaxHeapSize "600m"
|
javaMaxHeapSize "1200m"
|
||||||
//default is 4 and Total Memory = maxProcessCount * javaMaxHeapSize
|
maxProcessCount 4
|
||||||
maxProcessCount 1
|
|
||||||
additionalParameters "--debug"
|
additionalParameters "--debug"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -91,4 +91,5 @@ tasks.withType(JavaCompile) {
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
androidTestCompile 'junit:junit:4.12'
|
androidTestCompile 'junit:junit:4.12'
|
||||||
|
compile 'com.android.support:multidex:1.0.1'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user