Do not generate JVM 1.8+ annotation targets in stdlib, -jdk7, -jdk8, reflect
See #KT-53712
This commit is contained in:
committed by
Space
parent
f07163125b
commit
f3e8816dc3
@@ -64,6 +64,7 @@ compileKotlin {
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xno-new-java-annotation-targets",
|
||||
]
|
||||
kotlinOptions.moduleName = project.name
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@ compileKotlin {
|
||||
kotlinOptions.freeCompilerArgs = [
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xno-new-java-annotation-targets",
|
||||
]
|
||||
kotlinOptions.moduleName = project.name
|
||||
}
|
||||
|
||||
@@ -117,6 +117,7 @@ compileKotlin {
|
||||
"-Xuse-14-inline-classes-mangling-scheme",
|
||||
"-Xbuiltins-from-sources",
|
||||
"-XXLanguage:+RangeUntilOperator",
|
||||
"-Xno-new-java-annotation-targets",
|
||||
]
|
||||
moduleName = "kotlin-stdlib"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user