Skip to content

Commit

Permalink
Enable error loglevel for partial linkage messages (#317)
Browse files Browse the repository at this point in the history
The change is related to building datetime as a Kotlin user project.
See QA-1099 for more details.
  • Loading branch information
FenstonSingel authored Nov 24, 2023
1 parent f97034f commit 53ffd13
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ allprojects {
// outputs the compiler version to logs so we can check whether the train configuration applied
kotlinOptions.freeCompilerArgs += "-version"
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile>().configureEach {
compilerOptions { freeCompilerArgs.add("-Xpartial-linkage-loglevel=ERROR") }
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>().configureEach {
compilerOptions { freeCompilerArgs.add("-Xpartial-linkage-loglevel=ERROR") }
}
}

0 comments on commit 53ffd13

Please sign in to comment.