[Repo] Don't use kotlinOptions in repo build scripts
^KT-63419 In Progress
This commit is contained in:
committed by
Space Team
parent
22e1e79c41
commit
6b19b8b9d0
@@ -147,7 +147,8 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile<*>> {
|
||||
@Suppress("DEPRECATION")
|
||||
tasks.withType<KotlinCompile<*>>().configureEach {
|
||||
kotlinOptions.languageVersion = "1.9"
|
||||
kotlinOptions.apiVersion = "2.0"
|
||||
kotlinOptions.freeCompilerArgs += listOf(
|
||||
@@ -167,6 +168,7 @@ tasks {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
named("compileKotlinJs", KotlinCompile::class) {
|
||||
kotlinOptions.freeCompilerArgs += "-Xir-module-name=kotlin"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user