Support for the postprocessing dsl in buildtype
It seems okbuck (ver 0.34.1) not recognize the postprocessing block.
Snippet in my app's build.gradle looks like:
buildTypes {
release {
postprocessing {
obfuscate = true
optimizeCode = false
removeUnusedCode = true
removeUnusedResources = true
proguardFiles 'proguard-rules.pro'
}
signingConfig signingConfigs.release
crunchPngs true
}
}
Thx.
interesting. does it work fine if you move the proguardFiles out of the postProcessing block? i'm not familiar with the postProcessing block.
@runningcode ./buckw targets works fine, if i replace postprocessing block to old DSL, e.g.
buildTypes {
release {
...
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Postprocessing block seems new. Okbuck does not support it yet
This dsl is incubating and can change at anytime - https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.BuildType.html#com.android.build.gradle.internal.dsl.BuildType:postprocessing
Do not plan to add support for this until it becomes stable