-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (43 loc) · 1.65 KB
/
build.gradle
File metadata and controls
53 lines (43 loc) · 1.65 KB
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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group = pluginGroup
version = pluginVersion
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'https://oss.sonatype.org/content/groups/public/' }
maven { url 'https://repo.aikar.co/content/groups/aikar/' }
maven { url 'https://jitpack.io' }
maven { url 'https://repo.codemc.org/repository/maven-public/' }
maven { url 'https://libraries.minecraft.net/' }
}
dependencies {
implementation 'co.aikar:acf-core:0.5.1-SNAPSHOT'
implementation 'co.aikar:acf-paper:0.5.1-SNAPSHOT'
implementation 'de.tr7zw:item-nbt-api:2.13.2'
implementation 'com.github.cryptomorin:XSeries:11.3.0'
compileOnly 'org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT'
compileOnly 'com.mojang:authlib:1.5.21'
compileOnly 'org.projectlombok:lombok:1.18.26'
annotationProcessor 'org.projectlombok:lombok:1.18.26'
}
shadowJar {
relocate("co.aikar.commands", "net.splodgebox.monthlycrates.acf")
relocate("co.aikar.locales", "net.splodgebox.monthlycrates.acf.locales")
relocate("com.cryptomorin.xseries", "net.splodgebox.monthlycrates.utils.xseries")
relocate("de.tr7zw.changeme.nbtapi", "net.splodgebox.monthlycrates.utils.nbtapi")
}
processResources {
duplicatesStrategy = 'exclude'
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
tasks.named('build').configure {
dependsOn shadowJar
}