Skip to content

Commit

Permalink
Enable error loglevel for partial linkage messages (#367)
Browse files Browse the repository at this point in the history
The change is related to building atomicfu as a Kotlin user project. See QA-1106 for more details.
  • Loading branch information
FenstonSingel authored Nov 23, 2023
1 parent f83c00d commit aedae16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ allprojects {
}
}
}

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") }
}
}

if (build_snapshot_train) {
Expand Down

0 comments on commit aedae16

Please sign in to comment.