Allow to disable progressive mode with the false value

This commit is contained in:
Nikolay Krasko
2022-06-29 09:37:08 +02:00
committed by teamcity
parent 0546b0902c
commit c67c615fa3
@@ -110,7 +110,7 @@ fun Project.configureKotlinCompilationOptions() {
plugins.withType<KotlinBasePluginWrapper> {
val commonCompilerArgs = listOfNotNull(
"-opt-in=kotlin.RequiresOptIn",
"-progressive".takeIf { hasProperty("test.progressive.mode") }
"-progressive".takeIf { getBooleanProperty("test.progressive.mode") ?: false }
)
val kotlinLanguageVersion: String by rootProject.extra