Skip to content

Commit

Permalink
update release plugin for mavencentral
Browse files Browse the repository at this point in the history
  • Loading branch information
froks committed Jun 15, 2024
1 parent 9d0632c commit fadadf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
apply<NexusReleasePlugin>()

group = "io.github.doip-sim-ecu"
version = "0.12.1"
version = "0.12.2"

repositories {
gradlePluginPortal()
Expand Down
3 changes: 1 addition & 2 deletions buildSrc/src/main/kotlin/NexusClient.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit fadadf0

Please sign in to comment.