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:
Alexander Udalov
2021-03-12 11:31:56 +01:00
parent b33d245dfb
commit a10ebcea51
+1
View File
@@ -17,6 +17,7 @@ compileKotlin2Js {
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-Xopt-in=kotlin.contracts.ExperimentalContracts",
"-Xopt-in=kotlin.RequiresOptIn",
]
kotlinOptions {
moduleKind = "umd"