Skip to content

Commit

Permalink
Suppress experimental expect/actual warning for verifyKotlinModule task
Browse files Browse the repository at this point in the history
See also #2427
  • Loading branch information
sandwwraith committed Oct 18, 2023
1 parent 6ac4902 commit c46f175
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 c46f175

Please sign in to comment.