This repository was archived by the owner on Apr 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (51 loc) · 1.58 KB
/
build.gradle
File metadata and controls
62 lines (51 loc) · 1.58 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
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 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'io.freefair.lombok' version '6.1.0'
}
group = 'com.egirlsnation'
version = '0.1.2'
compileJava{
options.encoding = 'UTF-8'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(16)
}
}
javadoc {
options.encoding = 'UTF-8'
}
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 {
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
implementation 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT'
implementation "net.milkbowl.vault:VaultAPI:1.7"
//Paper
compileOnly 'io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT'
//GUIs
implementation 'com.github.noobstersmc:RapidInv:v0.0.1'
}
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 'us.jcedeno.libs.rapidinv', 'com.yourpackage.rapidinv'
}
build.dependsOn shadowJar