-
Notifications
You must be signed in to change notification settings - Fork 72
/
build.gradle
86 lines (76 loc) · 2.3 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
import org.apache.tools.ant.filters.ReplaceTokens
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.1.0'
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
// Spigot
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
}
maven {
// VaultAPI
url = 'https://jitpack.io'
}
maven {
// WorldEdit
url = 'http://maven.sk89q.com/repo/'
}
maven {
// ProtocolLib
url "http://repo.dmulloy2.net/nexus/repository/public/"
}
// PaperLib
maven {
url 'https://papermc.io/repo/repository/maven-public/'
}
// AnvilGUI
maven {
url 'https://repo.codemc.io/repository/maven-snapshots/'
}
flatDir {
dirs 'libs'
}
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
}
dependencies {
shadow 'com.google.code.findbugs:jsr305:3.0.2'
//shadow 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
//shadow 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
//shadow 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
//shadow 'org.spigotmc:spigot-api:1.14.2-R0.1-SNAPSHOT'
//shadow 'org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT'
//shadow 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
//shadow 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT'
shadow 'org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT'
shadow 'com.github.MilkBowl:VaultAPI:1.7'
shadow 'net.wesjd:anvilgui:1.5.3-SNAPSHOT'
compile name: 'BiomeMapping-1.3'
compile "io.papermc:paperlib:1.0.5"
shadow 'com.comphenix.protocol:ProtocolLib:4.4.0'
compile project('Support-WorldEdit-6')
compile project('Support-WorldEdit-7')
}
shadowJar {
classifier = ''
configurations = [project.configurations.compile]
relocate 'io.papermc.lib', 'com.gmail.val59000mc.paperlib'
}
build.dependsOn(shadowJar)