pcarrier
08/30/2021, 12:44 PMproject.tasks.withType(KotlinCompile::class.java).configureEach {
kotlinOptions {
allWarningsAsErrors = true
freeCompilerArgs = freeCompilerArgs +
listOf("-Xopt-in=kotlin.RequiresOptIn", "-opt-in=kotlin.time.ExperimentalTime")
}
}
and running into:
e: Invalid argument: -opt-in=kotlin.time.ExperimentalTime
Am I getting the syntax wrong? That's how it's documented @ https://kotlinlang.org/docs/opt-in-requirements.html#module-wide-opt-in AFAICTBig Chungus
08/30/2021, 1:19 PMefemoney
08/31/2021, 12:17 AM