PostProcessing
@Incubating interface PostProcessing
DSL object for configuring postProcessing: removing dead code, obfuscating etc.
Summary
Public methods
consumerProguardFile
abstract fun consumerProguardFile(file: Any): Unit
consumerProguardFiles
abstract fun consumerProguardFiles(vararg files: Any): Unit
proguardFile
abstract fun proguardFile(file: Any): Unit
proguardFiles
abstract fun proguardFiles(vararg files: Any): Unit
setConsumerProguardFiles
abstract fun setConsumerProguardFiles(consumerProguardFiles: List<Any>): Unit
setProguardFiles
abstract fun setProguardFiles(proguardFiles: List<Any>): Unit
setTestProguardFiles
abstract fun setTestProguardFiles(testProguardFiles: List<Any>): Unit
testProguardFile
abstract fun testProguardFile(file: Any): Unit
testProguardFiles
abstract fun testProguardFiles(vararg files: Any): Unit
Properties
codeShrinker
abstract var codeShrinker: String
Deprecated.
isObfuscate
abstract var isObfuscate: Boolean
isOptimizeCode
abstract var isOptimizeCode: Boolean
isRemoveUnusedCode
abstract var isRemoveUnusedCode: Boolean
isRemoveUnusedResources
abstract var isRemoveUnusedResources: Boolean
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-22 UTC.