Skip to content

Commit 5a302cb

Browse files
committed
remove kotlinx.serialization dependency
fix build ziti CLI
1 parent 3a77daf commit 5a302cb

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

gradle/libs.versions.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ziti-cli = "1.5.4"
1616
# third party
1717
lazysodium-java = "5.1.4"
1818
coroutines = "1.10.2"
19-
serialization = "1.8.1"
2019
slf4j = "2.0.17"
2120
jupiter = "5.12.2"
2221
gson = "2.13.1"
@@ -42,8 +41,6 @@ kotlin-reflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", vers
4241
kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test-junit", version.ref = "kotlin" }
4342
kotlin-coroutines-lib = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines"}
4443
kotlin-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines"}
45-
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" }
46-
4744

4845
tls-channel = { group = "com.github.marianobarrios", name = "tls-channel", version.ref = "tls-channel" }
4946
sodium = { group = "com.goterl", name = "lazysodium-java", version.ref = "lazysodium-java" }

ziti/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import kotlinx.coroutines.runBlocking
2121
plugins {
2222
id("java-library")
2323
alias(libs.plugins.kotlin)
24-
alias(libs.plugins.kotlin.serialization)
2524
alias(libs.plugins.dokka)
2625
id("maven-publish")
2726
alias(libs.plugins.shadow)
@@ -38,7 +37,6 @@ dependencies {
3837
implementation(libs.kotlin.lib)
3938
implementation(libs.kotlin.coroutines.lib)
4039
implementation(libs.kotlin.reflect)
41-
implementation(libs.kotlinx.serialization.json)
4240
implementation(libs.slf4j.api)
4341
implementation(libs.gson)
4442
implementation(libs.jackson.bind)
@@ -160,7 +158,9 @@ tasks.register<Exec>("buildZiti") {
160158
group = LifecycleBasePlugin.BUILD_GROUP
161159
description = "Builds the Ziti CLI"
162160
environment("GOBIN", binDir.asFile.absolutePath)
163-
commandLine("go", "install", "github.com/openziti/ziti/ziti@v${zitiVersion}")
161+
commandLine("env",
162+
"go", "install", "github.com/openziti/ziti/ziti@v${zitiVersion}"
163+
)
164164
outputs.file(zitiCLI)
165165
}
166166

0 commit comments

Comments
 (0)