Skip to content

Commit

Permalink
add task dependencies to unified-publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrails committed Dec 26, 2023
1 parent c263ecc commit 7a66762
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ unifiedPublishing {
gameLoaders = ["fabric", "quilt"]
changelog = fetchChangelog()

mainPublicationDepends(tasks.remapJar, tasks.sourcesJar)
mainPublication tasks.remapJar.getArchiveFile() // main jar
secondaryPublication tasks.sourcesJar.getArchiveFile() // sources jar

Expand Down
1 change: 1 addition & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ unifiedPublishing {
gameLoaders = ["forge"]
changelog = fetchChangelog()

mainPublicationDepends(tasks.remapJar, tasks.sourcesJar)
mainPublication tasks.remapJar.getArchiveFile() // main jar
secondaryPublication tasks.sourcesJar.getArchiveFile() // sources jar

Expand Down
1 change: 1 addition & 0 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ unifiedPublishing {
gameLoaders = ["neoforge"]
changelog = fetchChangelog()

mainPublicationDepends(tasks.remapJar, tasks.sourcesJar)
mainPublication tasks.remapJar.getArchiveFile() // main jar
secondaryPublication tasks.sourcesJar.getArchiveFile() // sources jar

Expand Down

0 comments on commit 7a66762

Please sign in to comment.