forked from Mezy/UhcCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
70 lines (60 loc) · 1.79 KB
/
build.gradle
File metadata and controls
70 lines (60 loc) · 1.79 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
63
64
65
66
67
68
69
70
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/"
}
}
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.1-R0.1-SNAPSHOT'
shadow 'com.github.MilkBowl:VaultAPI:1.7'
compile 'com.github.WesJD.AnvilGUI:anvilgui:master-SNAPSHOT'
shadow 'com.comphenix.protocol:ProtocolLib:4.4.0'
compile project('Support-WorldEdit-6')
compile project('Support-WorldEdit-7')
}
shadowJar {
classifier = ''
configurations = [project.configurations.compile]
}
build.dependsOn(shadowJar)