As I understand this is the only way to enable pro...
# gradle
i
As I understand this is the only way to enable progressive mode currently (Kotlin DSL)?
Copy code
tasks.withType<KotlinJvmCompile> {
    kotlinOptions {
        freeCompilerArgs += listOf("-Xprogressive")
    }
}
g
Yes, probably you also can call
freeCompilerArgs.add
, but it depends on freeCompilerArgs implementation
n
gradle tells me it wants
-progressive
but apart ro mthat i use the same
i
Looks like there are nicer syntax:
Copy code
kotlin.sourceSets.all {
    languageSettings.progressiveMode = true
}
g
hmm, interesting, looks that it’s a new syntax, nice