File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,7 @@ tasks.withType(KotlinCompilationTask::class).configureEach {
3333 null -> true // Werror is enabled by default
3434 else -> throw GradleException (" Invalid kotlin_Werror_override value. Use 'enable' or 'disable'" )
3535 }
36-
3736 allWarningsAsErrors = werrorEnabled
38- // Add extra compiler options when -Werror is disabled
39- if (! werrorEnabled) {
40- freeCompilerArgs.addAll(
41- " -Wextra" ,
42- " -Xuse-fir-experimental-checkers"
43- )
44- }
4537 }
4638 }
4739}
@@ -58,4 +50,4 @@ tasks.withType<KotlinCompilationTask<*>>().configureEach {
5850 logger.info(" Added Kotlin compiler flags: ${compilerOptions.freeCompilerArgs.get().joinToString(" , " )} " )
5951 logger.info(" allWarningsAsErrors=${compilerOptions.allWarningsAsErrors.get()} " )
6052 }
61- }
53+ }
You can’t perform that action at this time.
0 commit comments