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