Skip to content

Commit

Permalink
Fix for "Could not create task ':buildSrc:compileKotlin'."
Browse files Browse the repository at this point in the history
  • Loading branch information
woainikk committed Oct 14, 2024
1 parent 0934721 commit 40408b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ extra["kotlin_api_version"] = rootProject.properties["kotlin_api_version"]
val kotlin_api_version: String? by extra

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += listOf(
compilerOptions.freeCompilerArgs.addAll(listOf(
"-Xsuppress-version-warnings",
"-Xskip-metadata-version-check"
)
))

if (kotlin_language_version != null) {
kotlinOptions.languageVersion = kotlin_language_version
Expand Down

0 comments on commit 40408b6

Please sign in to comment.