[Gradle, JS] Fix formatting in Gradle Kotlin/JS wizard
^KT-40149 fixed
This commit is contained in:
+11
-2
@@ -213,10 +213,19 @@ abstract class GradleKotlinJSFrameworkSupportProvider(
|
||||
(
|
||||
additionalSubTargetSettings()
|
||||
?.lines()
|
||||
?.joinToString("\n", "\n", "\n") { " $it" } ?: ""
|
||||
?.joinToString("\n", "\n", "\n") { line ->
|
||||
if (line.isBlank()) {
|
||||
line
|
||||
} else {
|
||||
line
|
||||
.prependIndent()
|
||||
.prependIndent()
|
||||
.prependIndent()
|
||||
}
|
||||
} ?: "\n"
|
||||
) +
|
||||
"""
|
||||
}
|
||||
}
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ internal fun browserConfiguration(): String {
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
webpackConfig.cssSupport.enabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
""".trimIndent()
|
||||
}
|
||||
+11
-4
@@ -188,12 +188,19 @@ abstract class AbstractKotlinDslGradleKotlinJSFrameworkSupportProvider(
|
||||
(
|
||||
additionalSubTargetSettings()
|
||||
?.lines()
|
||||
?.joinToString("\n", "\n", "\n") {
|
||||
" $it"
|
||||
} ?: ""
|
||||
?.joinToString("\n", "\n", "\n") { line: String ->
|
||||
if (line.isBlank()) {
|
||||
line
|
||||
} else {
|
||||
line
|
||||
.prependIndent()
|
||||
.prependIndent()
|
||||
.prependIndent()
|
||||
}
|
||||
} ?: "\n"
|
||||
) +
|
||||
"""
|
||||
}
|
||||
}
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user