Stay organized with collections
Save and categorize content based on your preferences.
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-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-07-02 UTC."],[],[]]