Skip to content

Commit 35002a7

Browse files
committed
Fix release config
1 parent 65fb572 commit 35002a7

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

build.gradle.kts

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -53,45 +53,43 @@ afterEvaluate {
5353
}
5454
}
5555

56-
apply(plugin = "org.jreleaser")
56+
configure<JReleaserExtension> {
57+
dryrun = false
5758

58-
configure<JReleaserExtension> {
59-
dryrun = false
60-
61-
release {
62-
generic {
63-
enabled = false
64-
}
59+
release {
60+
generic {
61+
skipTag = true
6562
}
63+
}
6664

67-
// Used to announce a release to configured announcers.
68-
// https://jreleaser.org/guide/latest/reference/announce/index.html
69-
announce {
70-
active = Active.NEVER
71-
}
65+
// Used to announce a release to configured announcers.
66+
// https://jreleaser.org/guide/latest/reference/announce/index.html
67+
announce {
68+
active = Active.NEVER
69+
}
7270

73-
// Signing configuration.
74-
// https://jreleaser.org/guide/latest/reference/signing.html
75-
signing {
76-
active = Active.ALWAYS
77-
armored = true
78-
}
71+
// Signing configuration.
72+
// https://jreleaser.org/guide/latest/reference/signing.html
73+
signing {
74+
active = Active.ALWAYS
75+
armored = true
76+
}
7977

80-
// Configuration for deploying to Maven Central.
81-
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
82-
deploy {
83-
maven {
84-
nexus2 {
85-
create("maven-central") {
86-
active = Active.ALWAYS
87-
url = "https://aws.oss.sonatype.org/service/local"
88-
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
89-
closeRepository = true
90-
releaseRepository = true
91-
stagingRepository(stagingDir().get().asFile.path)
92-
}
78+
// Configuration for deploying to Maven Central.
79+
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
80+
deploy {
81+
maven {
82+
nexus2 {
83+
create("maven-central") {
84+
active = Active.ALWAYS
85+
url = "https://aws.oss.sonatype.org/service/local"
86+
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
87+
closeRepository = true
88+
releaseRepository = true
89+
stagingRepository(stagingDir().get().asFile.path)
9390
}
9491
}
9592
}
9693
}
94+
}
9795

0 commit comments

Comments
 (0)