Closed milis92 closed 1 year ago
This PR aims to provide the ability for krang to be differently configured based on the kotlin compilation.
Example usage would be
krang { enabled.set(true) godMode.set(true) variantFilter { val kotlinCompilation: KotlinCompilation<*> = this when (kotlinCompilation) { is KotlinJvmAndroidCompilation -> { if (kotlinCompilation.androidVariant.buildType.name == "release") { enabled.set(false) } } } } }
This PR aims to provide the ability for krang to be differently configured based on the kotlin compilation.
Example usage would be