Minor, add -Xopt-in=kotlin.RequiresOptIn to kotlin-test-js
To prevent compilation warning on usages of OptIn in new assertContentEquals functions.
This commit is contained in:
@@ -17,6 +17,7 @@ compileKotlin2Js {
|
||||
kotlinOptions.freeCompilerArgs = [
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xopt-in=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xopt-in=kotlin.RequiresOptIn",
|
||||
]
|
||||
kotlinOptions {
|
||||
moduleKind = "umd"
|
||||
|
||||
Reference in New Issue
Block a user