File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
integration/src/main/kotlin/kotlinx/benchmark/integration Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,7 @@ allprojects {
107
107
freeCompilerArgs.addAll(" -Xreport-all-warnings" , " -Xrender-internal-diagnostic-names" )
108
108
109
109
progressiveMode = true
110
-
111
- if (getAllWarningsAsErrorsValue(project)) {
112
- allWarningsAsErrors = true
113
- } else {
114
- freeCompilerArgs.addAll(" -Wextra" , " -Xuse-fir-experimental-checkers" )
115
- }
110
+ allWarningsAsErrors = getAllWarningsAsErrorsValue(project)
116
111
117
112
freeCompilerArgs.addAll(getAdditionalKotlinCompilerOptions(project))
118
113
}
Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ private val kotlin_api_version = System.getProperty("kotlin_api_version")?.let {
45
45
" apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.fromVersion('$it ')"
46
46
}.orEmpty()
47
47
48
- private val kotlin_warnings_settings = System .getProperty(" kotlin_Werror_override" )? .let {
48
+ private val kotlin_warnings_settings = System .getProperty(" kotlin_Werror_override" ).let {
49
49
when (it) {
50
- " disable" -> " freeCompilerArgs.addAll( \" -Wextra \" , \" -Xuse-fir-experimental-checkers \" ) "
50
+ " disable" -> " "
51
51
else -> " allWarningsAsErrors = true"
52
52
}
53
- } ? : false
53
+ }
54
54
55
55
private val kotlin_additional_cli_options = System .getProperty(" kotlin_additional_cli_options" )?.let {
56
56
val argsList = it.split(' ' ).map(String ::trim).filter(String ::isNotBlank)
You can’t perform that action at this time.
0 commit comments