Skip to content

Commit

Permalink
fix(forge): it seems like gradle build will break when forge module d…
Browse files Browse the repository at this point in the history
…oesn't have remapJar task
  • Loading branch information
boholder committed Jul 22, 2024
1 parent c9218e7 commit 2d957f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@ shadowJar {
archiveClassifier = "dev-shadow"
}

// Forge doesn't need remap since 1.20.6
remapJar {
// Forge doesn't need remap since 1.20.6
enabled false
//noinspection GrDeprecatedAPIUsage
input.set shadowJar.archiveFile
dependsOn shadowJar
archiveClassifier = null
}

jar {
archiveClassifier = "dev"
Expand Down

0 comments on commit 2d957f1

Please sign in to comment.