Stay organized with collections Save and categorize content based on your preferences.

PostProcessing

@Incubating interface PostProcessing
com.android.build.api.dsl.PostProcessing

DSL object for configuring postProcessing: removing dead code, obfuscating etc.

Summary

Public methods

abstract Unit

abstract Unit
consumerProguardFiles(vararg files: Any)

abstract Unit

abstract Unit

abstract Unit
proguardFiles(vararg files: Any)

abstract Unit
setConsumerProguardFiles(consumerProguardFiles: List<Any>)

abstract Unit
setProguardFiles(proguardFiles: List<Any>)

abstract Unit
setTestProguardFiles(testProguardFiles: List<Any>)

abstract Unit

abstract Unit
testProguardFiles(vararg files: Any)

Properties

abstract String

abstract Boolean

abstract Boolean

abstract Boolean

abstract Boolean

Public methods

consumerProguardFile

abstract fun consumerProguardFile(file: Any): Unit

consumerProguardFiles

abstract fun consumerProguardFiles(vararg files: Any): Unit

initWith

abstract fun initWith(that: PostProcessing): 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