Skip to content

Commit 986c549

Browse files
committed
fix(jreleaser): use Active enum instead of string values
- Fix compilation error by using Active.ALWAYS/RELEASE/SNAPSHOT enums - JReleaser 1.21.0 requires enum values, not strings
1 parent 617924e commit 986c549

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build-logic/src/main/kotlin/de.brendamour.java-conventions.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jreleaser {
214214
}
215215

216216
signing {
217-
active.set("ALWAYS")
217+
active.set(Active.ALWAYS)
218218
armored.set(true)
219219
command {
220220
executable.set("gpg")
@@ -228,7 +228,7 @@ jreleaser {
228228
maven {
229229
mavenCentral {
230230
create("release-deploy") {
231-
active.set("RELEASE")
231+
active.set(Active.RELEASE)
232232
url.set("https://central.sonatype.com/api/v1/publisher")
233233
stagingRepositories.set(
234234
listOf(
@@ -240,7 +240,7 @@ jreleaser {
240240
}
241241
nexus2 {
242242
create("snapshot-deploy") {
243-
active.set("SNAPSHOT")
243+
active.set(Active.SNAPSHOT)
244244
url.set("https://central.sonatype.com/api/v1/publisher")
245245
snapshotUrl.set("https://central.sonatype.com/repository/maven-snapshots")
246246
stagingRepositories.set(

0 commit comments

Comments
 (0)