Allow to disable progressive mode with the false value
This commit is contained in:
@@ -110,7 +110,7 @@ fun Project.configureKotlinCompilationOptions() {
|
|||||||
plugins.withType<KotlinBasePluginWrapper> {
|
plugins.withType<KotlinBasePluginWrapper> {
|
||||||
val commonCompilerArgs = listOfNotNull(
|
val commonCompilerArgs = listOfNotNull(
|
||||||
"-opt-in=kotlin.RequiresOptIn",
|
"-opt-in=kotlin.RequiresOptIn",
|
||||||
"-progressive".takeIf { hasProperty("test.progressive.mode") }
|
"-progressive".takeIf { getBooleanProperty("test.progressive.mode") ?: false }
|
||||||
)
|
)
|
||||||
|
|
||||||
val kotlinLanguageVersion: String by rootProject.extra
|
val kotlinLanguageVersion: String by rootProject.extra
|
||||||
|
|||||||
Reference in New Issue
Block a user