Open hamoid opened 3 weeks ago
'kotlinOptions: KotlinJvmOptions' is deprecated. Please migrate to the compilerOptions DSL. More details are here: https://kotl.in/u1r8ln
Deprecated:
tasks.withType<KotlinCompile> { kotlinOptions.freeCompilerArgs = listOf("-opt-in=kotlin.RequiresOptIn") }
Updated but not tested:
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask tasks.named("compileKotlin", KotlinCompilationTask::class.java) { compilerOptions { freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn") } }
Deprecated:
Updated but not tested: