cn.hx.plugin.junkcode.ext.AndroidJunkCodeExt.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-junk-code Show documentation
Show all versions of android-junk-code Show documentation
generate junk code for android
package cn.hx.plugin.junkcode.ext
import org.gradle.api.Action
import org.gradle.api.NamedDomainObjectContainer
class AndroidJunkCodeExt {
boolean debug = false
NamedDomainObjectContainer variantConfig
AndroidJunkCodeExt(NamedDomainObjectContainer variantConfig) {
this.variantConfig = variantConfig
}
void variantConfig(Action super NamedDomainObjectContainer> action) {
action.execute(variantConfig)
}
}