1
0
Fork 0

For #423: Add release build type for raptor perf. testing

master
Christian Sadilek 2019-03-28 11:30:55 -04:00 committed by Jeff Boek
parent 289785be90
commit 6491adf029
1 changed files with 6 additions and 0 deletions

View File

@ -30,12 +30,18 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
manifestPlaceholders.isRaptorEnabled = "false"
}
buildTypes {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
releaseRaptor {
initWith release
manifestPlaceholders.isRaptorEnabled = "true"
matchingFallbacks = ['release']
}
debug {
shrinkResources false
minifyEnabled false