update bootstrap css (some sort of encoding change with a "-NBSP"
This commit is contained in:
parent
0f9e51df31
commit
e6ffe4cba5
2 changed files with 5 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import io.kvision.gradle.KVisionPlugin
|
||||||
import org.jetbrains.kotlin.gradle.plugin.KotlinDependencyHandler
|
import org.jetbrains.kotlin.gradle.plugin.KotlinDependencyHandler
|
||||||
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
|
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
|
||||||
|
|
||||||
|
|
@ -115,7 +116,8 @@ fun KotlinDependencyHandler.kvision(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
val installThemeCss by tasks.registering(Copy::class) {
|
val installBootstrapThemeCss by tasks.registering(Copy::class) {
|
||||||
|
group = KVisionPlugin.KVISION_TASK_GROUP
|
||||||
val bootswatchThemeMinCss = resources.text.fromUri(
|
val bootswatchThemeMinCss = resources.text.fromUri(
|
||||||
libs.versions.npm.bootswatch.map { bootswatch ->
|
libs.versions.npm.bootswatch.map { bootswatch ->
|
||||||
"https://cdn.jsdelivr.net/npm/bootswatch@$bootswatch/dist/darkly/bootstrap.min.css"
|
"https://cdn.jsdelivr.net/npm/bootswatch@$bootswatch/dist/darkly/bootstrap.min.css"
|
||||||
|
|
@ -129,7 +131,7 @@ val installThemeCss by tasks.registering(Copy::class) {
|
||||||
|
|
||||||
|
|
||||||
tasks.withName("processResources").configureEach {
|
tasks.withName("processResources").configureEach {
|
||||||
dependsOn(installThemeCss)
|
dependsOn(installBootstrapThemeCss)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue