Enable multidex in android box tests

This commit is contained in:
Mikhael Bogdanov
2018-02-16 14:20:26 +01:00
parent 31c63dea50
commit cc7bd80099
@@ -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'
}