-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (40 loc) · 1.09 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 'kr.entree.spigradle' version '2.4.2'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
mavenCentral()
paper()
maven {
url = uri('https://repo.aikar.co/content/groups/aikar/')
}
}
dependencies {
compileOnly paper('1.19.2-R0.1-SNAPSHOT')
implementation 'co.aikar:acf-paper:0.5.1-SNAPSHOT'
// implementation 'co.aikar:taskchain-bukkit:3.7.2'
}
group = 'eu.zhincore.chestnetworks'
version = '1.1-SNAPSHOT'
description = 'chestnetworks'
spigot {
authors 'Zhincore'
apiVersion '1.19'
excludeLibraries('acf-paper')
}
shadowJar {
relocate 'co.aikar.commands', 'eu.zhincore.chestnetworks.acf'
relocate 'co.aikar.locales', 'eu.zhincore.chestnetworks.locales'
// relocate 'co.aikar.taskchain', 'eu.zhincore.chestnetworks.taskchain'
archiveClassifier = "shadowed"
}
compileJava {
options.compilerArgs += ["-parameters"]
options.fork = true
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(18))
}
build.dependsOn shadowJar