wasyl
06/22/2023, 10:05 AMlanguageSettings.optIn
and configuring all KotlinCompilationTasks<*>
with compilerOptions.freeCompilerArgs.add("opt-in=...")
? I'm looking at https://kotlinlang.org/docs/opt-in-requirements.html#module-wide-opt-in to add module-with opt-in annotationtapchicoma
06/22/2023, 10:09 AMlanguageSettings
most probably will be deprecated in 1.9.20 in favor of compilerOptions
Plus compilerOptions
since 1.9.0 should contain optIn: ListProperty<String>
option.Javier
06/22/2023, 10:11 AMcompilerOptions.contextReceivers.isEnabled.set(true)
tapchicoma
06/22/2023, 10:12 AMcompilerOptions
, but not in the nearest releasetapchicoma
06/22/2023, 10:14 AMwasyl
06/22/2023, 10:26 AMJavier
06/22/2023, 10:27 AMSebastian Sellmair [JB]
06/22/2023, 12:58 PM