[Build] Disable -Werror for libraries if FIR is enabled
This commit is contained in:
committed by
teamcity
parent
6156808613
commit
29725ad007
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user