Remove "-Xsuppress-deprecated-jvm-target-warning" compiler argument
This commit is contained in:
@@ -62,7 +62,6 @@ compileKotlin {
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xsuppress-deprecated-jvm-target-warning",
|
||||
]
|
||||
kotlinOptions.moduleName = project.name
|
||||
}
|
||||
@@ -76,7 +75,6 @@ compileTestKotlin {
|
||||
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-opt-in=kotlin.io.path.ExperimentalPathApi",
|
||||
"-Xcommon-sources=${fileTree('../test').join(',')}",
|
||||
"-Xsuppress-deprecated-jvm-target-warning",
|
||||
"-XXLanguage:+RangeUntilOperator",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -113,7 +113,6 @@ compileKotlin {
|
||||
"-opt-in=kotlin.ExperimentalMultiplatform",
|
||||
"-opt-in=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xuse-14-inline-classes-mangling-scheme",
|
||||
"-Xsuppress-deprecated-jvm-target-warning",
|
||||
"-Xbuiltins-from-sources",
|
||||
"-XXLanguage:+RangeUntilOperator",
|
||||
]
|
||||
@@ -127,7 +126,6 @@ compileTestKotlin {
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=kotlin.ExperimentalUnsignedTypes",
|
||||
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-Xsuppress-deprecated-jvm-target-warning",
|
||||
"-XXLanguage:+RangeUntilOperator",
|
||||
]
|
||||
// This is needed for JavaTypeTest; typeOf for non-reified type parameters doesn't work otherwise, for implementation reasons.
|
||||
|
||||
Reference in New Issue
Block a user