mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-16 02:04:59 +00:00
Update build script
This commit is contained in:
1 parent
2c01119ade
commit
fcfbf6cc17
1 file changed
+4
-5
+4
-5
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user