Fixed extensions

This commit is contained in:
Auxilor 2021-01-04 14:12:47 +00:00
parent f32692de67
commit ad8df3ed55
11 changed files with 24 additions and 19 deletions

View File

@ -68,8 +68,14 @@ allprojects {
}
}
shadowJar {
relocate('com.willfp.eco.', 'com.willfp.ecoenchants.eco.') // Dot is to prevent plugin being shaded into itself
}
compileJava.options.encoding = 'UTF-8'
compileJava.dependsOn clean
build.dependsOn shadowJar
}
tasks.withType(Jar) {
@ -83,7 +89,6 @@ clean.doLast {
shadowJar {
relocate('org.apache.maven', 'com.willfp.ecoenchants.eco.shaded.maven')
relocate('org.bstats', 'com.willfp.ecoenchants.eco.shaded.bstats')
relocate('com.willfp.eco.', 'com.willfp.ecoenchants.eco.') // Dot is to prevent plugin being shaded into itself
archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + ".jar"
}
@ -98,8 +103,6 @@ java.sourceCompatibility = JavaVersion.VERSION_1_8
compileJava.options.encoding = 'UTF-8'
build.dependsOn shadowJar
publishing {
publications {
maven(MavenPublication) {

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '3.0.0'
version '3.0.1'
description = 'Alchemy Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '3.0.0'
version '3.0.1'
description = 'Biomes Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -12,4 +12,6 @@ subprojects {
tasks.withType(Jar) {
destinationDirectory = file("$rootDir/bin/")
}
tasks.jar.enabled = false
}

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '3.0.0'
version '3.0.1'
description = 'Effects Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '3.0.0'
version '3.0.1'
description = 'Endershot Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '3.0.0'
version '3.0.1'
description = 'Firewand Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -2,6 +2,6 @@ group 'com.willfp'
version '3.0.1'
description = 'Precision Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '3.0.0'
version '3.0.1'
description = 'Sprint Artifacts Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -2,6 +2,6 @@ group 'com.willfp'
version '3.0.1'
description = 'Summoning Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}

View File

@ -1,7 +1,7 @@
group 'com.willfp'
version '1.0.0'
version '1.0.1'
description = 'Xray Extension'
jar {
shadowJar {
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
}