[Build] Disable -Werror for libraries if FIR is enabled

This commit is contained in:
Dmitriy Novozhilov
2022-04-18 11:58:12 +04:00
committed by teamcity
parent 6156808613
commit 29725ad007
+1
View File
@@ -61,6 +61,7 @@ ext.configureFrontendIr = { Project project ->
task.kotlinOptions {
if (project.kotlinBuildProperties.useFirForLibraries) {
freeCompilerArgs += "-Xuse-fir"
allWarningsAsErrors = false
}
if (project.properties.renderDiagnosticNames) {
freeCompilerArgs += "-Xrender-internal-diagnostic-names"