Skip to content

Commit 979f594

Browse files
committed
Working towards setting up jreleaser
1 parent 9f7cb63 commit 979f594

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

build.gradle.kts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
import org.jreleaser.model.Active
2+
13
plugins {
24
`java-library`
35
`maven-publish`
6+
id("org.jreleaser") version "1.17.0"
47
}
58

69
group = "io.github.ArchipelagoMW"
@@ -118,4 +121,21 @@ publishing {
118121
}
119122
}
120123
}
124+
}
125+
126+
jreleaser {
127+
deploy {
128+
maven {
129+
mavenCentral {
130+
register("javaClient") {
131+
dryrun = true
132+
active = Active.RELEASE
133+
applyMavenCentralRules = true
134+
sign = false
135+
stagingRepository("target/staging-deploy")
136+
}
137+
138+
}
139+
}
140+
}
121141
}

0 commit comments

Comments
 (0)