-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
67 lines (59 loc) · 1.79 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
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id("java")
id("com.vanniktech.maven.publish") version "0.29.0"
}
group = "io.github.revxrsal"
version = "1.3"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
dependencies {
compileOnly("org.ow2.asm:asm:9.7.1")
compileOnly("org.ow2.asm:asm-commons:9.7.1")
compileOnly("org.yaml:snakeyaml:2.0")
compileOnly("com.google.code.gson:gson:2.11.0")
compileOnly("org.jetbrains:annotations:26.0.1")
compileOnly("org.projectlombok:lombok:1.18.36")
annotationProcessor("org.projectlombok:lombok:1.18.36")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
mavenPublishing {
coordinates(
groupId = group as String,
artifactId = "bubbles",
version = version as String
)
pom {
name.set("Bubbles")
description.set("A library for generating beautiful, commented, type-safe YML through interfaces")
inceptionYear.set("2024")
url.set("https://github.com/Revxrsal/Bubbles/")
licenses {
license {
name.set("MIT")
url.set("https://mit-license.org/")
distribution.set("https://mit-license.org/")
}
}
developers {
developer {
id.set("revxrsal")
name.set("Revxrsal")
url.set("https://github.com/Revxrsal/")
}
}
scm {
url.set("https://github.com/Revxrsal/Bubbles/")
connection.set("scm:git:git://github.com/Revxrsal/Bubbles.git")
developerConnection.set("scm:git:ssh://git@github.com/Revxrsal/Bubbles.git")
}
}
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
}