-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
91 lines (83 loc) · 2.62 KB
/
build.gradle
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'java'
id 'kr.entree.spigradle' version '2.4.3'
id 'maven-publish'
id 'signing'
}
group = 'io.typst'
version = '2.2.0'
repositories {
mavenCentral()
maven { url "https://repo.papermc.io/repository/maven-public/" }
maven { url 'https://jitpack.io' }
maven { url "https://repo.dmulloy2.net/repository/public/" }
maven { url 'https://mvn.lumine.io/repository/maven-public/' }
}
dependencies {
compileOnly spigot('1.20.1')
compileOnly fileTree(include: '*.jar', dir: 'libs')
compileOnly lombok('1.18.32')
compileOnly protocolLib('5.1.0')
compileOnly 'com.ticxo.modelengine:ModelEngine:R4.0.6'
annotationProcessor lombok('1.18.32')
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
spigot {
name 'BukkitGlow'
depends 'ProtocolLib'
softDepends 'ModelEngine'
}
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
groupId = rootProject.group
artifactId = rootProject.name
version = rootProject.version
from components.java
pom {
name.set("${project.group}:${project.name}")
description.set("Glowing api for Bukkit.")
url.set("https://github.com/typst-io/bukkit-glow")
licenses {
license {
name.set("GNU Lesser General Public License v3")
url.set("https://www.gnu.org/licenses/lgpl-3.0.txt")
}
}
developers {
developer {
id.set("entrypointkr")
name.set("Junhyung Im")
email.set("entrypointkr@gmail.com")
}
}
scm {
connection.set("scm:git:git://github.com/typst-io/bukkit-glow.git")
developerConnection.set("scm:git:ssh://github.com:typst-io/bukkit-glow.git")
url.set("https://github.com/typst-io/bukkit-glow/tree/master")
}
}
}
}
repositories {
maven {
name = "sonatypeReleases"
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = findProperty("ossrhUsername")?.toString()
password = findProperty("ossrhPassword")?.toString()
}
}
}
}
signing {
sign(publishing.publications["maven"])
}
java {
withSourcesJar()
withJavadocJar()
}