-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
83 lines (71 loc) · 2.78 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
defaultTasks 'clean', 'build'
version = "1.0-SNAPSHOT"
group = "me.fromgate.reactions"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
compileJava.options.encoding = 'UTF-8'
compileJava.sourceCompatibility = 1.8
compileJava.targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "http://maven.sk89q.com/repo/" }
maven { url "http://repo.nukkit.ru" }
maven { url "http://nexus.hc.to/content/repositories/pub_releases" }
maven { url "http://repo.dmulloy2.net/nexus/repository/public/" }
// ProtoclLib repo broken, try to look here too
maven { url "http://mvn.yawk.at/" }
maven { url "http://repo.extendedclip.com/content/repositories/placeholderapi/"}
maven { url "http://cnaude.org/repo/" }
maven { url "http://repo.bstats.org/content/repositories/releases/"}
}
dependencies {
compile group: 'com.comphenix.protocol', name: 'ProtocolLib-API', version: '4.2.1'
compile group: 'com.massivecraft.massivecore', name: 'massivecore', version: '2.9.9'
compile group: 'com.massivecraft.factions', name: 'factions', version: '2.9.0'
compile group: 'me.fromgate.playeffect', name: 'PlayEffect', version: '1.0-SNAPSHOT'
compile group: 'de.tobiyas.racesandclasses', name: 'RacesAndClasses', version: '1.2.1'
compile group: 'com.palmergames.bukkit.towny', name: 'Towny', version: '0.9.1'
compile group: 'com.greatmancode', name: 'craftconomy3', version: '3.3', ext: 'jar'
compile group: 'org.bukkit', name: 'bukkit', version: '1.12.2-R0.1-SNAPSHOT'
compile group: 'com.sk89q', name: 'worldedit', version: '6.0.0-SNAPSHOT'
compile group: 'com.sk89q', name: 'worldguard', version: '6.1.1-SNAPSHOT'
compile group: 'net.milkbowl.vault', name: 'Vault', version: '1.6.6'
compile group: 'me.clip', name: 'placeholderapi', version: '2.8.2'
compile group: 'org.bstats', name: 'bstats-bukkit-lite', version: '1.2'
}
sourceSets {
core
WGBridge5x
main {
java {
srcDir 'core/src/main/java'
srcDir 'WGBridge5x/src/main/java'
}
resources {
srcDirs = ['core/src/main/resources']
}
}
}
jar {
from sourceSets.core.output
from sourceSets.WGBridge5x.output
}
shadowJar {
shadowJar.archiveName = 'ReActions-1.0-SNAPSHOT.jar'
relocate 'org.bstats', 'me.fromgate.reactions.externals.bstats'
dependencies {
include(dependency('org.bstats:bstats-bukkit-lite:1.2'))
include(project(':core'))
include(project(':WGBridge5x'))
}
}