-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (37 loc) · 1.16 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
plugins {
id "java"
id "com.github.johnrengelman.shadow" version "8.1.1"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
repositories {
mavenCentral()
maven {url = "https://jitpack.io"}
maven {url = "https://repo.papermc.io/repository/maven-public/"}
maven {url = "https://repo.extendedclip.com/content/repositories/placeholderapi/"}
}
dependencies {
implementation("me.clip:placeholderapi:2.11.2")
implementation("io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT")
shadow("net.objecthunter:exp4j:0.4.8")
testImplementation("net.objecthunter:exp4j:0.4.8")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
shadowJar {
configurations = [project.configurations.shadow]
manifest {
attributes "Main-Class": "Program"
}
relocate("net.objecthunter.exp4j", "eu.jasperlorelai.circe.shaded.net.objecthunter.exp4j")
archiveClassifier.set("")
}
artifacts {
archives shadowJar
}
test {
useJUnitPlatform()
}