-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
48 lines (44 loc) · 1.02 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
48 lines (44 loc) · 1.02 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
import org.jreleaser.model.Active.ALWAYS
import org.jreleaser.model.Active.NEVER
plugins {
java
id("org.jreleaser") version "1.24.0"
}
group = PROJECT_GROUP
version = PROJECT_VERSION
repositories {
mavenCentral()
}
jreleaser {
signing {
pgp {
active = ALWAYS
armored = true
}
}
deploy {
maven {
mavenCentral {
create("sonatype") {
active = ALWAYS
url = "https://central.sonatype.com/api/v1/publisher"
stagingRepositories.add(layout.buildDirectory.dir(JRELEASER_MAVEN_REPOSITORY_DIRECTORY)
.map { it.asFile.path })
skipPublicationCheck = true
}
}
}
}
release {
github {
uploadAssets = NEVER
}
}
}
subprojects {
tasks.configureEach {
rootProject.tasks.jreleaserFullRelease.configure {
mustRunAfter(this@configureEach)
}
}
}