Skip to content

Commit

Permalink
supported change in compilerOptions in Gradle 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed May 2, 2023
1 parent ecb7aa3 commit 4f54e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/plugins/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
}

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

0 comments on commit 4f54e0e

Please sign in to comment.