-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (46 loc) · 1.58 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
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'java'
}
group 'fr.aquilon.minecraft'
version '3.1.1'
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
javadoc.options.encoding = 'utf-8'
compileJava.options.encoding = 'utf-8'
compileTestJava.options.encoding = 'utf-8'
repositories {
maven{ url = 'https://hub.spigotmc.org/nexus/content/repositories/public/' }
maven{ url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
mavenCentral()
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
compileOnly 'mysql:mysql-connector-java:8.0.33'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
implementation 'org.nanohttpd:nanohttpd-websocket:2.3.1'
implementation 'com.auth0:java-jwt:4.4.0'
compileOnly 'net.luckperms:api:5.4'
implementation 'org.json:json:20240303'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
"Specification-Title": project.name,
"Specification-Vendor": project.group,
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": project.version,
"Implementation-Vendor" : project.group,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
)
}
}
shadowJar {
minimize()
archiveClassifier.set('')
}