File tree 11 files changed +24
-19
lines changed
11 files changed +24
-19
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,14 @@ allprojects {
68
68
}
69
69
}
70
70
71
+ shadowJar {
72
+ relocate(' com.willfp.eco.' , ' com.willfp.ecoenchants.eco.' ) // Dot is to prevent plugin being shaded into itself
73
+ }
74
+
71
75
compileJava. options. encoding = ' UTF-8'
72
76
compileJava. dependsOn clean
77
+
78
+ build. dependsOn shadowJar
73
79
}
74
80
75
81
tasks. withType(Jar ) {
@@ -83,7 +89,6 @@ clean.doLast {
83
89
shadowJar {
84
90
relocate(' org.apache.maven' , ' com.willfp.ecoenchants.eco.shaded.maven' )
85
91
relocate(' org.bstats' , ' com.willfp.ecoenchants.eco.shaded.bstats' )
86
- relocate(' com.willfp.eco.' , ' com.willfp.ecoenchants.eco.' ) // Dot is to prevent plugin being shaded into itself
87
92
archiveFileName = findProperty(" plugin-name" ) + " v" + findProperty(" version" ) + " .jar"
88
93
}
89
94
@@ -98,8 +103,6 @@ java.sourceCompatibility = JavaVersion.VERSION_1_8
98
103
99
104
compileJava. options. encoding = ' UTF-8'
100
105
101
- build. dependsOn shadowJar
102
-
103
106
publishing {
104
107
publications {
105
108
maven(MavenPublication ) {
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 3.0.0 '
2
+ version ' 3.0.1 '
3
3
description = ' Alchemy Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 3.0.0 '
2
+ version ' 3.0.1 '
3
3
description = ' Biomes Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change @@ -12,4 +12,6 @@ subprojects {
12
12
tasks. withType(Jar ) {
13
13
destinationDirectory = file(" $rootDir /bin/" )
14
14
}
15
+
16
+ tasks. jar. enabled = false
15
17
}
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 3.0.0 '
2
+ version ' 3.0.1 '
3
3
description = ' Effects Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 3.0.0 '
2
+ version ' 3.0.1 '
3
3
description = ' Endershot Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 3.0.0 '
2
+ version ' 3.0.1 '
3
3
description = ' Firewand Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ group 'com.willfp'
2
2
version ' 3.0.1'
3
3
description = ' Precision Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 3.0.0 '
2
+ version ' 3.0.1 '
3
3
description = ' Sprint Artifacts Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ group 'com.willfp'
2
2
version ' 3.0.1'
3
3
description = ' Summoning Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
Original file line number Diff line number Diff line change 1
1
group ' com.willfp'
2
- version ' 1.0.0 '
2
+ version ' 1.0.1 '
3
3
description = ' Xray Extension'
4
4
5
- jar {
5
+ shadowJar {
6
6
archiveFileName = project. getDescription() + " v" + project. version + " .jar"
7
7
}
You can’t perform that action at this time.
0 commit comments