[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
@@ -54,6 +54,7 @@ tasks.compileKotlin {
|
||||
val commonSources = listOf(
|
||||
"kotlin/enums/EnumEntries.kt"
|
||||
).map { copySources.get().destinationDir.resolve(it) }
|
||||
@Suppress("DEPRECATION")
|
||||
kotlinOptions {
|
||||
languageVersion = "1.9"
|
||||
apiVersion = "2.0"
|
||||
@@ -69,6 +70,7 @@ tasks.compileKotlin {
|
||||
moduleName = "kotlin-stdlib"
|
||||
}
|
||||
doFirst {
|
||||
@Suppress("DEPRECATION")
|
||||
kotlinOptions.freeCompilerArgs += listOf(
|
||||
"-Xcommon-sources=${commonSources.joinToString(File.pathSeparator)}",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user