-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
119 lines (102 loc) · 4.48 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'io.github.gradle-nexus.publish-plugin' version "1.1.0"
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
id 'net.minecrell.plugin-yml.bukkit' version '0.6.0'
}
group 'me.untouchedodin0.privatemines'
version = pluginVersion
def devBuild = false
if (devBuild) {
version = version + "-DEV"
}
repositories {
mavenLocal()
mavenCentral()
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
maven { url = 'https://maven.enginehub.org/repo/' }
maven { url = 'https://repo.aikar.co/content/groups/aikar/' }
maven { url = 'https://repo.rapture.pw/repository/maven-releases/' }
maven { url = 'https://repo.rapture.pw/repository/maven-snapshots/' }
maven { url = 'https://repo.codemc.org/repository/maven-public/' }
maven { url = 'https://redempt.dev' }
maven { url = 'https://hub.jeff-media.com/nexus/repository/jeff-media-public/' }
maven { url = 'https://jitpack.io' }
maven { url = 'https://libraries.minecraft.net/' }
maven { url = 'https://repo.convallyria.com/releases' }
maven { url = 'https://repo.minebench.de/' }
maven { url = 'https://repo.dmulloy2.net/repository/public/' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = 'https://repo.mineinabyss.com/releases' }
maven { url = "https://repo.mattstudios.me/artifactory/public/" }
maven { url = 'https://repo.convallyria.com/releases' }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
compileOnly 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
compileOnly 'com.fastasyncworldedit:FastAsyncWorldEdit-Core:2.6.2'
compileOnly 'com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.6.3'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.8'
compileOnly 'com.grinderwolf:slimeworldmanager-api:2.7.0-SNAPSHOT'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1'
compileOnly 'com.mojang:authlib:1.11'
compileOnly 'me.clip:placeholderapi:2.11.6'
compileOnly 'com.github.oraxen:oraxen:1.157.2'
compileOnly 'com.github.LoneDev6:API-ItemsAdder:3.4.1-r4'
compileOnly 'com.google.code.gson:gson:2.10'
compileOnly 'com.fasterxml.jackson.core:jackson-databind:2.15.0' // i think this is the big thing?
compileOnly files('libs/XPrison-1.12.11-RELEASE.jar')
compileOnly files('libs/AutoSellAPI-1.2.0.jar')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'com.github.Redempt:RedLib:6.5.8'
implementation 'org.bstats:bstats-bukkit:3.0.0'
implementation 'net.kyori:adventure-text-minimessage:4.14.0'
implementation 'net.kyori:adventure-platform-bukkit:4.3.0'
implementation 'co.aikar:acf-paper:0.5.1-SNAPSHOT'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation "dev.triumphteam:triumph-gui:3.1.2" // Replace version here
implementation 'io.papermc:paperlib:1.0.7'
implementation 'com.convallyria.languagy:api:3.0.2'
implementation files('libs/PrivateMinesAPI-1.3-SNAPSHOT.jar')
}
shadowJar {
minimize()
relocate 'org.codemc.worldguardwrapper', 'me.untouchedodin0.privatemines.worldguardwrapper'
relocate 'org.bstats', 'me.untouchedodin0.bstats'
relocate 'net.kyori', 'me.untouchedodin0.adventure'
relocate 'co.aikar.commands', 'me.untouchedodin0.privatemines.acf'
relocate 'dev.triumphteam.gui', 'me.untouchedodin0.privatemines.gui'
relocate 'io.papermc.lib', 'me.untouchedodin0.privatemines.paperlib'
relocate 'com.convallyria.languagy', 'me.untouchedodin0.privatemines.languagy'
}
bukkit {
// Plugin main class (required)
main = 'me.untouchedodin0.privatemines.PrivateMines'
version = pluginVersion
// API version (should be set for 1.13+)
apiVersion = '1.13'
authors = ['UntouchedOdin0', 'BristerMitten', 'bobby29831', 'DrZoddiak', 'ComputerNerd100', 'bbSnavy']
depend = ['FastAsyncWorldEdit', 'WorldGuard', 'Vault']
softDepend = ['AutoSell', 'UltraPrisonCore', 'ProtocolLib', 'PlaceholderAPI', 'Oraxen', 'ItemsAdder']
}
tasks.register('copyTo_DevServer', Copy) {
from shadowJar
into "E:/Coding/Spigot Test Servers/1.19.2 Privates Mines (Paper)/plugins"
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}