-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (47 loc) · 1.37 KB
/
build.gradle.kts
File metadata and controls
52 lines (47 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import org.jreleaser.model.Signing
plugins {
alias(libs.plugins.convention.mappie)
java
alias(libs.plugins.jreleaser)
}
tasks.jreleaserFullRelease.configure {
notCompatibleWithConfigurationCache("Disable configuration-cache for jreleaser")
}
jreleaser {
project {
authors.add("Stefan Koppier")
license = "Apache-2.0"
links {
homepage = "https://mappie.tech"
}
inceptionYear = "2024"
}
signing {
active = org.jreleaser.model.Active.ALWAYS
armored = true
mode = Signing.Mode.COMMAND
verify = false
}
release {
github {
draft = true
}
}
deploy {
maven {
mavenCentral {
active = org.jreleaser.model.Active.ALWAYS
create("mappie") {
active = org.jreleaser.model.Active.ALWAYS
url = "https://central.sonatype.com/api/v1/publisher"
username = properties["mavenCentralUsername"] as? String
password = properties["mavenCentralPassword"] as? String
applyMavenCentralRules = true
verifyPom = false
retryDelay = 20
stagingRepository(layout.buildDirectory.dir("staging-deploy").get().toString())
}
}
}
}
}