-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
64 lines (50 loc) · 1.5 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
apply plugin: 'java'
repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
name = 'sponge'
url = 'http://repo.spongepowered.org/maven'
}
maven {
name = 'bukkit'
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
}
maven { url 'http://maven.sk89q.com/repo/' }
}
dependencies {
compileOnly group: 'org.bukkit', name: 'bukkit', version: '1.11-R0.1-SNAPSHOT'
compileOnly group: 'org.bukkit', name: 'bukkit', version: '1.11-R0.1-SNAPSHOT'
compileOnly group: 'com.github.redstone', name: 'LegacyFactions', version: 'v1.4.4'
dependencies {
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
}
dependencies {
compileOnly fileTree(dir: 'libs/craftbukkit', include: ['*.jar'])
}
dependencies {
compileOnly fileTree(dir: 'libs/nonfree', include: ['*.jar'])
}
compile fileTree(dir: 'libs/shadow', include: ['*.jar'])
compileOnly 'com.sk89q:worldguard:6.1.1-SNAPSHOT'
compileOnly 'com.sk89q:worldedit:6.0.0-SNAPSHOT'
compileOnly 'com.sk89q.worldguard:worldguard-legacy:6.2'
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:6.1.5'
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
shadowJar {
dependencies {
include(dependency(fileTree(dir: 'libs/shadow', include: ['*.jar'])))
}
relocate "net.redstoneore.rson", "net.redstoneore.freshwilderness.lib.rson"
}
build.finalizedBy(shadowJar)