-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.63 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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
*/
plugins{
id 'eclipse'
id 'java'
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
sourceCompatibility = 11
targetCompatibility = 11
group = 'net.noobsters'
version = '0.1-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
maven { url 'https://papermc.io/repo/repository/maven-public/' }
maven { url 'https://libraries.minecraft.net/' }
maven { url 'https://plugins.gradle.org/m2' }
maven { url 'https://jitpack.io' }
maven { url 'https://repo.aikar.co/content/groups/aikar/' }
}
dependencies {
//Paper
compileOnly 'com.destroystokyo.paper:paper-api:1.16.3-R0.1-SNAPSHOT'
//Lombok
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testCompileOnly 'org.projectlombok:lombok:1.18.12'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12'
//ACF
compile 'co.aikar:acf-paper:0.5.0-SNAPSHOT'
//Scoreboard, maybe use helper by lucko?
compile 'fr.mrmicky:FastInv:3.0.2'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
expand 'version': project.version
include 'plugin.yml'
}
}
shadowJar {
relocate 'co.aikar.commands', 'shadded.acf'
relocate 'co.aikar.locales', 'shadded.acf.locales'
relocate 'acf-minecraft_', 'shadded.acf.properties.acf-minecraft_'
relocate 'acf-core_', 'shadded.acf.properties.acf-core_'
relocate 'fr.mrmicky', 'shadded.gui'
}
build.dependsOn shadowJar