Skip to content

Commit d3667aa

Browse files
committed
chore: try fixing build.gradle.kts
1 parent 864bed9 commit d3667aa

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

build.gradle.kts

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -152,28 +152,27 @@ publishing {
152152

153153
jreleaser {
154154
signing {
155-
active.set("ALWAYS")
156-
armored.set(true)
155+
active = "ALWAYS"
156+
armored = true
157157
}
158158
deploy {
159159
maven {
160160
nexus2 {
161-
register("maven-central") {
162-
active.set("ALWAYS")
163-
url.set("https://s01.oss.sonatype.org/service/local")
164-
snapshotUrl.set("https://s01.oss.sonatype.org/content/repositories/snapshots/")
165-
closeRepository.set(true)
166-
releaseRepository.set(true)
167-
stagingRepository.set("build/staging-deploy")
161+
"maven-central" {
162+
active = "ALWAYS"
163+
url = "https://s01.oss.sonatype.org/service/local"
164+
snapshotUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
165+
closeRepository = true
166+
releaseRepository = true
167+
stagingRepository("build/staging-deploy")
168168
}
169169
}
170-
// Uncomment the following to enable Portal Publisher API configuration
171-
/*
170+
/* Portal Publisher API
172171
mavenCentral {
173172
sonatype {
174-
active.set("ALWAYS")
175-
url.set("https://central.sonatype.com/api/v1/publisher")
176-
stagingRepository.set("target/staging-deploy")
173+
active = "ALWAYS"
174+
url = "https://central.sonatype.com/api/v1/publisher"
175+
stagingRepository("target/staging-deploy")
177176
}
178177
}
179178
*/

0 commit comments

Comments
 (0)