Skip to content

Commit

Permalink
fix: dependency for build fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
virus-rpi committed Jul 27, 2023
1 parent 031d5c3 commit 854e4c2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'fabric-loom' version '1.0-SNAPSHOT'
id "com.github.johnrengelman.plugin-shadow" version "2.0.3"
id "com.github.johnrengelman.shadow" version "7.1.2"
id 'maven-publish'
}

Expand Down Expand Up @@ -63,6 +63,17 @@ jar {
}
}

remapJar {
dependsOn(shadowJar)
inputFile = tasks.shadowJar.archiveFile
}

shadowJar {
configurations = [project.configurations.shadow]
archiveClassifier.set("dev")
relocate "net.objecthunter", "de.siphalor.spiceoffabric.shadow.net.objecthunter"
}

// configure the maven publication
publishing {
publications {
Expand Down

0 comments on commit 854e4c2

Please sign in to comment.