Skip to content

Commit

Permalink
Suppress experimental expect/actual warning for verifyKotlinModule ta…
Browse files Browse the repository at this point in the history
…sk (#2482)

See also #2427
  • Loading branch information
sandwwraith authored Oct 25, 2023
1 parent fe10d6a commit 919062f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Java9Modularity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ object Java9Modularity {
jvmTarget = "9"
// To support LV override when set in aggregate builds
languageVersion = compileTask.kotlinOptions.languageVersion
freeCompilerArgs += listOf("-Xjdk-release=9", "-Xsuppress-version-warnings")
freeCompilerArgs += listOf("-Xjdk-release=9", "-Xsuppress-version-warnings", "-Xexpect-actual-classes")
options.optIn.addAll(compileTask.kotlinOptions.options.optIn)
}
// work-around for https://youtrack.jetbrains.com/issue/KT-60583
Expand Down

0 comments on commit 919062f

Please sign in to comment.