1- apply plugin : ' java'
2- apply plugin : ' eclipse'
3- apply plugin : ' idea'
1+ allprojects {
2+ apply plugin : ' java'
3+ apply plugin : ' eclipse'
4+ apply plugin : ' idea'
45
5- task getHomeDir << {
6- println gradle. gradleHomeDir
7- }
6+ group = ' be.isach'
7+ version = ' 2.1.2-RELEASE'
88
9- group = ' be.isach'
10- version = ' 2.1.2-RELEASE'
9+ compileJava. options. encoding = ' UTF-8'
1110
12- libsDirName = ' /Users/Sacha/Desktop/LOCAL/plugins/'
11+ configurations {
12+ shaded
13+ compile. extendsFrom shaded
14+ }
1315
14- compileJava. options. encoding = ' UTF-8'
16+ afterEvaluate{
17+ jar {
18+ dependsOn configurations. shaded
19+ from configurations. shaded. collect {
20+ it. isDirectory() ?
21+ it :
22+ zipTree(it)
23+ }
24+ }
25+ }
26+ }
1527
16- repositories {
17- repositories {
18- maven {
19- url ' http://server.o2gaming.com/repo/ '
28+ dependencies {
29+ subprojects . each{ p ->
30+ shaded(p) {
31+ transitive false
2032 }
2133 }
34+ }
35+
36+ subprojects {
2237 repositories {
38+ mavenLocal()
39+ mavenCentral()
40+ ivy {
41+ url ' http://www.tcpr.ca/files/'
42+ layout ' pattern' , {
43+ artifact ' [module]/[module]-[revision].[ext]'
44+ }
45+ }
2346 maven {
24- url ' http ://repo.howaner.de '
47+ url ' https ://hub.spigotmc.org/nexus/content/groups/public/ '
2548 }
26- }
27- repositories {
2849 maven {
29- url ' http ://isach.be/repo '
50+ url ' https ://oss.sonatype.org/content/groups/public/ '
3051 }
31- }
32- repositories {
3352 maven {
3453 url ' http://nexus.theyeticave.net/content/repositories/pub_releases'
3554 }
36- }
37- repositories {
3855 maven {
39- url ' http://repo.dmulloy2 .net/content/groups/public/ '
56+ url ' http://repo.md-5 .net/content/repositories/releases '
4057 }
41- }
42- ivy {
43- url " http://www.tcpr.ca/files/ "
44- layout ' pattern ' , {
45- artifact ' [module]/[module]-[revision].[ext] '
58+ maven {
59+ url ' http://repo.howaner.de '
60+ }
61+ maven {
62+ url ' http://repo.dmulloy2.net/content/groups/public/ '
4663 }
4764 }
48- flatDir {
49- dirs ' /Java/BuildTools/'
50- }
51- mavenCentral()
52- }
53-
54- configurations {
55- provided
56- compile. extendsFrom provided
5765}
5866
59-
60- dependencies {
61- provided name : ' spigot-1.9.2'
62- provided name : ' spigot-1.8.8'
63- provided name : ' LibsDisguises'
64- compile(' com.comphenix.protocol:ProtocolLib:3.6.4' ) {
65- exclude group : ' org.bukkit'
66- }
67- compile(' com.xxmicloxx:NoteBlockAPI:1.0-SNAPSHOT' ) {
68- exclude group : ' org.bukkit'
69- }
70- compile(' net.milkbowl.vault:VaultAPI:1.6' ) {
71- exclude group :' org.bukkit'
72- }
73-
74- }
0 commit comments