leandro
09/14/2023, 10:52 AMval extension: KotlinProjectExtension = ...
extension.targets.forEach {
it.compilerOptions.freeCompilerArgs.add("-Xfoo")
}
dmitriy.novozhilov
09/14/2023, 10:53 AMtapchicoma
09/14/2023, 10:54 AMtapchicoma
09/14/2023, 10:56 AMKotlinMultiplatfromExtension.compilerOptions { ... }
or KotlinMultiplatformExtension.compilerOptions.optIn.add(...)
leandro
09/14/2023, 11:11 AMKotlinMultiplatfromExtension
and KotlinAndroidProjectExtension
and wished I could apply there (through the common type KotlinProjectExtension
), but I just need to pass -Xexpect-actual-classes
and this might not be necessary for kotlin-android modules, I think?tapchicoma
09/14/2023, 12:42 PMtapchicoma
09/14/2023, 12:43 PMleandro
09/14/2023, 9:10 PM