Skip to content

Commit

Permalink
Use -opt-in instead of -Xopt-in for Kotlin compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
randomnetcat committed Mar 14, 2024
1 parent 3d3d672 commit b2a6e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ allprojects {
}

tasks.withType<KotlinCompile> {
kotlinOptions.freeCompilerArgs += listOf("-Xopt-in=kotlin.RequiresOptIn")
kotlinOptions.freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn")
}

tasks.withType<AbstractArchiveTask>().configureEach {
Expand Down

0 comments on commit b2a6e64

Please sign in to comment.