Geert
05/24/2019, 1:17 PMStephan Schroeder
05/24/2019, 1:46 PMcompileKotlin {
kotlinOptions.freeCompilerArgs += ["-XXLanguage:+InlineClasses"]
}
but of course you need it (possibly) for the buildscript itself. Maybe you can declare it in a
buildscript {...}
block!??gildor
05/24/2019, 3:05 PMGeert
05/27/2019, 11:24 AMgildor
05/27/2019, 11:26 AMgildor
05/27/2019, 11:26 AMGeert
05/27/2019, 11:37 AMGeert
05/27/2019, 11:39 AMGeert
05/27/2019, 11:45 AMtasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("--XXLanguage:+InlineClasses")
}
}
gildor
05/27/2019, 2:17 PMgildor
05/27/2019, 2:20 PM-XXLanguage
, not --XXLanguage