Recently I've decided to migrate my android project to Jack and Jill build chain. But now I'm facing multi-dex problem that was not present in the previous build chain, so my questions arise.
What is the equivalent of "minifyEnabled true" when using Jack&Jill for debug build and whether the new chain provides any way of automatic removal of unused libraries code?
Below I provide my current code which cause dex problems:
defaultConfig {
applicationId "xxx"
minSdkVersion 16
targetSdkVersion 25
versionCode getVersionCode()
versionName getVersionName()
jackOptions{
enabled true
}
}
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
signingConfig signingConfigs.release
}
debug {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
useProguard true
}
}
I'll be thankful for any help, thanks!
minifyEnabled true
in there? AFAIK it's the same flag.