Skip to content

Commit 663f9a5

Browse files
committed
Gradle build: build health fixes
1 parent 592f633 commit 663f9a5

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

build.gradle.kts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,30 @@ repositories {
3333
val additionalPluginClasspath: Configuration by configurations.creating
3434

3535
dependencies {
36-
implementation(libs.undertow)
36+
api(libs.undertow)
3737

3838
implementation(libs.intellij.structure.base) {
3939
exclude("org.jetbrains.kotlin")
4040
}
41-
implementation(libs.intellij.structure.ide) {
41+
api(libs.intellij.structure.ide) {
4242
exclude("org.jetbrains.kotlin")
4343
exclude("org.jetbrains.kotlinx")
4444
}
45-
implementation(libs.intellij.structure.intellij) {
45+
api(libs.intellij.structure.intellij) {
4646
exclude("org.jetbrains.kotlin")
4747
exclude("org.jetbrains.kotlinx")
4848
}
49-
implementation(libs.intellij.pluginRepositoryRestClient) {
49+
api(libs.intellij.pluginRepositoryRestClient) {
5050
exclude("org.jetbrains.kotlin")
5151
exclude("org.jetbrains.kotlinx")
5252
exclude("org.slf4j")
5353
}
5454

55-
implementation(libs.xmlutil.core)
56-
implementation(libs.xmlutil.serialization) {
55+
runtimeOnly(libs.xmlutil.core)
56+
api(libs.xmlutil.serialization) {
5757
exclude("io.github.pdvrieze.xmlutil", "core")
5858
}
59+
implementation(libs.kotlinx.serialization.core)
5960
implementation(libs.kotlinx.serialization.json)
6061

6162
compileOnly(embeddedKotlin("gradle-plugin"))

gradle/libs.versions.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# libraries
33
intellijStructure = "3.305"
44
intellijPluginRepositoryRestClient = "2.0.46"
5-
kotlinxSerializationJson = "1.6.3"
5+
kotlinxSerialization = "1.6.3"
66
okhttp = "4.12.0"
77
retrofit = "2.11.0"
88
undertow = "2.3.18.Final"
@@ -19,7 +19,8 @@ intellij-pluginRepositoryRestClient = { group = "org.jetbrains.intellij", name =
1919
intellij-structure-base = { group = "org.jetbrains.intellij.plugins", name = "structure-base", version.ref = "intellijStructure" }
2020
intellij-structure-ide = { group = "org.jetbrains.intellij.plugins", name = "structure-ide", version.ref = "intellijStructure" }
2121
intellij-structure-intellij = { group = "org.jetbrains.intellij.plugins", name = "structure-intellij", version.ref = "intellijStructure" }
22-
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
22+
kotlinx-serialization-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-core", version.ref = "kotlinxSerialization" }
23+
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerialization" }
2324
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
2425
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
2526
undertow = { group = "io.undertow", name = "undertow-core", version.ref = "undertow" }

0 commit comments

Comments
 (0)