[Repo] Don't use kotlinOptions in repo build scripts

^KT-63419 In Progress
This commit is contained in:
Yahor Berdnikau
2024-02-19 23:34:11 +01:00
committed by Space Team
parent 22e1e79c41
commit 6b19b8b9d0
54 changed files with 300 additions and 204 deletions
+4 -4
View File
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
plugins {
kotlin("jvm")
}
@@ -21,8 +23,6 @@ sourceSets {
"main" { projectDefault() }
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions {
freeCompilerArgs += "-Xcontext-receivers"
}
tasks.withType<KotlinJvmCompile> {
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
}