diff --git a/gradle/build-logic/build.gradle.kts b/gradle/build-logic/build.gradle.kts index 377e8be..51b9e49 100644 --- a/gradle/build-logic/build.gradle.kts +++ b/gradle/build-logic/build.gradle.kts @@ -1,15 +1,15 @@ plugins { `kotlin-dsl` - kotlin("plugin.serialization") version embeddedKotlinVersion + alias(libs.plugins.kotlin.plugin.serialization) } dependencies { implementation(libs.plugins.kotlin.js.toDep()) implementation(libs.plugins.kotlin.plugin.compose.toDep()) - implementation("io.github.pdvrieze.xmlutil:serialization-jvm:0.86.3") { + implementation("io.github.pdvrieze.xmlutil:serialization-jvm:0.90.1") { exclude("io.github.pdvrieze.xmlutil", "core") } - implementation("io.github.pdvrieze.xmlutil:core-jvm:0.86.3") + implementation("io.github.pdvrieze.xmlutil:core-jdk:0.90.1") testImplementation(kotlin("test")) } diff --git a/gradle/build-logic/src/main/kotlin/app/softwork/bootstrapcompose/icons/ConvertSvg.kt b/gradle/build-logic/src/main/kotlin/app/softwork/bootstrapcompose/icons/ConvertSvg.kt index 08a3b14..124567b 100644 --- a/gradle/build-logic/src/main/kotlin/app/softwork/bootstrapcompose/icons/ConvertSvg.kt +++ b/gradle/build-logic/src/main/kotlin/app/softwork/bootstrapcompose/icons/ConvertSvg.kt @@ -13,7 +13,6 @@ import java.io.* @CacheableTask abstract class ConvertSvg : DefaultTask() { - @get:Incremental @get:PathSensitive(PathSensitivity.NAME_ONLY) @get:InputDirectory abstract val icons: DirectoryProperty @@ -30,7 +29,6 @@ abstract class ConvertSvg : DefaultTask() { icons.asFileTree.forEachIndexed { index, file -> val name = file.nameWithoutExtension - println("$index $name") File(packageFile, "$name.kt") .writeText(convertSvgToComposeSvg(file.readText(), name)) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9276ba8..4b363b1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,4 +16,5 @@ uuid = { module = "app.softwork:kotlinx-uuid-core", version = "0.1.0" } [plugins] kotlin-js = { id = "org.jetbrains.kotlin.js", version.ref = "kotlin" } +kotlin-plugin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } kotlin-plugin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }