Skip to content

Commit

Permalink
Avoid -Xexpect-actual-classes flag before Kotlin 1.9.20
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yevsyukov committed May 20, 2024
1 parent 1532f15 commit 589a95c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fun KotlinJvmProjectExtension.applyJvmToolchain(version: String) =
/**
* Opts-in to experimental features that we use in our codebase.
*/
@Suppress("unused")
@Suppress("unused", "MagicNumber" /* Kotlin Compiler version. */)
fun KotlinCompile.setFreeCompilerArgs() {
// Avoid the "unsupported flag warning" for Kotlin compilers pre 1.9.20.
// See: https://youtrack.jetbrains.com/issue/KT-61573
Expand Down

0 comments on commit 589a95c

Please sign in to comment.