-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
68 lines (61 loc) · 1.84 KB
/
build.gradle.kts
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import org.jreleaser.model.Active
plugins {
`java-library`
`maven-publish`
id("org.jreleaser") version "1.15.0"
}
group = "io.github.gc-garcol"
version = "1.2.1"
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.github.gc-garcol"
artifactId = "cafe-ringbuffer"
from(components["java"])
pom {
name.set("cafe-ringbuffer")
description.set("cafe-ringbuffer")
url.set("https://gc-garcol.github.io/cafe-ringbuffer/gc/garcol/libcore/package-summary.html")
inceptionYear.set("2024")
licenses {
license {
name.set("Apache-2.0")
url.set("https://spdx.org/licenses/Apache-2.0.html")
}
}
developers {
developer {
id.set("gc-garcol")
name.set("cafe")
}
}
scm {
connection.set("scm:git:https://github.com/gc-garcol/cafe-ringbuffer.git")
developerConnection.set("scm:git:ssh://github.com/gc-garcol/cafe-ringbuffer.git")
url.set("https://github.com/gc-garcol/cafe-ringbuffer/tree/main")
}
}
}
}
}
jreleaser {
signing {
active = Active.ALWAYS
armored = true
}
deploy {
maven {
mavenCentral {
create("sonatype") {
active = Active.ALWAYS
url.set("https://central.sonatype.com/api/v1/publisher")
stagingRepositories.add("lib-core/build/staging-deploy")
}
}
}
}
}