From 0b0ba7d9872ad9f8592526c744af44957173f1a3 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Mon, 1 Feb 2021 20:54:52 +0300 Subject: [PATCH] Don't use warningsAsError in compiler modules if useFIR is ON --- compiler/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/build.gradle.kts b/compiler/build.gradle.kts index a89d17ab830..b3af6053a68 100644 --- a/compiler/build.gradle.kts +++ b/compiler/build.gradle.kts @@ -86,7 +86,7 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) { idea { this.module.generatedSourceDirs.add(generationRoot) } -} else { +} else if (!kotlinBuildProperties.useFir) { allprojects { tasks.withType> { if (path !in tasksWithWarnings) {