Update build script

This commit is contained in:
Johann Bernhardt committed 2021-11-22 00:07:49 +01:00
1 parent 2c01119ade
commit fcfbf6cc17
1 file changed
+4 -5
+4 -5
View File
@@ -1,4 +1,4 @@
//version: 1fc864ac9e3945981c864c3492bdd57330f9fe70
//version: 5f807e49331e4448b174643357b8381563101f6f
/*
DO NOT CHANGE THIS FILE!
@@ -397,15 +397,14 @@ task shadowDevJar(type: ShadowJar) {
minimize() // This will only allow shading for actually used classes
configurations = [project.configurations.shadowImplementation]
//dependsOn(relocateShadowDevJar)
}
task relocateShadowDevJar(type: ConfigureShadowRelocation) {
target = tasks.shadowDevJar //gradle.taskGraph.getAllTasks().find {it.name.equals("shadowDevJar") } //
target = tasks.shadowDevJar
prefix = modGroup + ".shadow"
}
task feongweosn(type: Jar) {
task circularResolverJar(type: Jar) {
dependsOn(relocateShadowDevJar)
dependsOn(shadowDevJar)
enabled = false
@@ -443,7 +442,7 @@ task apiJar(type: Jar) {
artifacts {
archives sourcesJar
archives feongweosn
archives circularResolverJar
if(apiPackage) {
archives apiJar
}