[stdlib] Set AV to 2.0, LV to 1.9 for main compilations, build tests with K2
This commit is contained in:
committed by
Space Team
parent
6152022838
commit
0ecbbbf1ca
@@ -37,6 +37,8 @@ compileKotlinCommon {
|
||||
|
||||
compileKotlinCommon {
|
||||
kotlinOptions {
|
||||
languageVersion = "1.9"
|
||||
apiVersion = "2.0"
|
||||
freeCompilerArgs = [
|
||||
"-module-name", project.name,
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
@@ -44,6 +46,7 @@ compileKotlinCommon {
|
||||
"-opt-in=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xexpect-actual-classes",
|
||||
"-Xsuppress-api-version-greater-than-language-version-error",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user