[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
@@ -1,3 +1,4 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
|
||||
import java.net.URI
|
||||
|
||||
plugins {
|
||||
@@ -92,11 +93,9 @@ sourceSets {
|
||||
"test" { projectDefault() }
|
||||
}
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
||||
kotlinOptions.freeCompilerArgs += listOf(
|
||||
"-opt-in=kotlin.ExperimentalUnsignedTypes",
|
||||
"-Xskip-prerelease-check"
|
||||
)
|
||||
tasks.withType<KotlinJvmCompile>().configureEach {
|
||||
compilerOptions.optIn.add("kotlin.ExperimentalUnsignedTypes")
|
||||
compilerOptions.freeCompilerArgs.add("-Xskip-prerelease-check")
|
||||
}
|
||||
|
||||
projectTest("test", true) {
|
||||
|
||||
Reference in New Issue
Block a user