Skip to content

Commit ad8df3e

Browse files
committed
Fixed extensions
1 parent f32692d commit ad8df3e

File tree

11 files changed

+24
-19
lines changed

11 files changed

+24
-19
lines changed

build.gradle

+6-3
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,14 @@ allprojects {
6868
}
6969
}
7070

71+
shadowJar {
72+
relocate('com.willfp.eco.', 'com.willfp.ecoenchants.eco.') // Dot is to prevent plugin being shaded into itself
73+
}
74+
7175
compileJava.options.encoding = 'UTF-8'
7276
compileJava.dependsOn clean
77+
78+
build.dependsOn shadowJar
7379
}
7480

7581
tasks.withType(Jar) {
@@ -83,7 +89,6 @@ clean.doLast {
8389
shadowJar {
8490
relocate('org.apache.maven', 'com.willfp.ecoenchants.eco.shaded.maven')
8591
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
8792
archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + ".jar"
8893
}
8994

@@ -98,8 +103,6 @@ java.sourceCompatibility = JavaVersion.VERSION_1_8
98103

99104
compileJava.options.encoding = 'UTF-8'
100105

101-
build.dependsOn shadowJar
102-
103106
publishing {
104107
publications {
105108
maven(MavenPublication) {

eco-extensions/alchemy/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '3.0.0'
2+
version '3.0.1'
33
description = 'Alchemy Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/biomes/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '3.0.0'
2+
version '3.0.1'
33
description = 'Biomes Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ subprojects {
1212
tasks.withType(Jar) {
1313
destinationDirectory = file("$rootDir/bin/")
1414
}
15+
16+
tasks.jar.enabled = false
1517
}

eco-extensions/effects/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '3.0.0'
2+
version '3.0.1'
33
description = 'Effects Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/endershot/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '3.0.0'
2+
version '3.0.1'
33
description = 'Endershot Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/firewand/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '3.0.0'
2+
version '3.0.1'
33
description = 'Firewand Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/precision/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ group 'com.willfp'
22
version '3.0.1'
33
description = 'Precision Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '3.0.0'
2+
version '3.0.1'
33
description = 'Sprint Artifacts Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/summoning/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ group 'com.willfp'
22
version '3.0.1'
33
description = 'Summoning Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

eco-extensions/xray/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group 'com.willfp'
2-
version '1.0.0'
2+
version '1.0.1'
33
description = 'Xray Extension'
44

5-
jar {
5+
shadowJar {
66
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
77
}

0 commit comments

Comments
 (0)