Matouš Skála
10/21/2021, 9:41 AMkotlin {
targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget) {
compilations.get("main").kotlinOptions.freeCompilerArgs += "-Xexport-kdoc"
}
}
to build.gradle, I get the following error during gradle configuration:
Caused by: groovy.lang.MissingMethodException: No signature of method: build_85rawsls4t4om6gyhg7yes7kk.kotlin() is applicable for argument types: (build_85rawsls4t4om6gyhg7yes7kk$_run_closure6) values: [build_85rawsls4t4om6gyhg7yes7kk$_run_closure6@6b90c290]
Possible solutions: notify(), toString(), toString(), toString(), toString(), split(groovy.lang.Closure)
Any hint what could be wrong?Grégory Lureau
10/21/2021, 9:45 AMbuild.gradle
instead of a build.gradle.kts
Matouš Skála
10/21/2021, 11:28 AMkotlin {
targets {
configure([iosArm64, iosX64]) {
compilations.all {
kotlinOptions {
freeCompilerArgs += "-Xexport-kdoc"
}
}
}
}
}}