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 86cada8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build and publish with Gradle
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
with:
arguments: build test publish
arguments: -i --stacktrace build test publish
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
Expand Down
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 86cada8

Please sign in to comment.