diff --git a/build.gradle.kts b/build.gradle.kts index c371f33..3e47aaa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ plugins { apply() group = "io.github.doip-sim-ecu" -version = "0.12.1" +version = "0.12.2" repositories { gradlePluginPortal() diff --git a/buildSrc/src/main/kotlin/NexusClient.kt b/buildSrc/src/main/kotlin/NexusClient.kt index b7911bb..9feae24 100644 --- a/buildSrc/src/main/kotlin/NexusClient.kt +++ b/buildSrc/src/main/kotlin/NexusClient.kt @@ -1,5 +1,4 @@ import kotlinx.serialization.Serializable -import kotlinx.serialization.decodeFromString import kotlinx.serialization.encodeToString import kotlinx.serialization.json.* import org.gradle.api.logging.Logger @@ -144,7 +143,7 @@ class NexusClient(private val logger: Logger, private val config: NexusReleaseEx private val basicAuth: String get() = - "Basic " + "${config.username.get()}:${config.password.get()}".encodeToByteArray().encodeBase64() + "Bearer " + "${config.username.get()}:${config.password.get()}".encodeToByteArray().encodeBase64() } class HttpException(