Skip to content

Commit

Permalink
Publish future sources jars to Modrinth & CurseForge
Browse files Browse the repository at this point in the history
  • Loading branch information
LostLuma committed Jul 23, 2024
1 parent bc3beac commit afd7eb9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions platforms/fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ publishMods {

changelog = file(rootDir.toPath().resolve("changelog.txt")).text
file = tasks.withType(RemapJarTask).named("remapJar").get().archiveFile
additionalFiles.from(tasks.withType(Jar).named("sourcesJar").get().archiveFile)

curseforge {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
Expand Down
1 change: 1 addition & 0 deletions platforms/forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ publishMods {

changelog = file(rootDir.toPath().resolve("changelog.txt")).text
file = tasks.withType(RemapJarTask).named("remapJar").get().archiveFile
additionalFiles.from(tasks.withType(Jar).named("sourcesJar").get().archiveFile)

curseforge {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
Expand Down
1 change: 1 addition & 0 deletions platforms/neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ publishMods {

changelog = file(rootDir.toPath().resolve("changelog.txt")).text
file = tasks.withType(RemapJarTask).named("remapJar").get().archiveFile
additionalFiles.from(tasks.withType(Jar).named("sourcesJar").get().archiveFile)

curseforge {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
Expand Down
1 change: 1 addition & 0 deletions platforms/quilt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ publishMods {

changelog = file(rootDir.toPath().resolve("changelog.txt")).text
file = tasks.withType(RemapJarTask).named("remapJar").get().archiveFile
additionalFiles.from(tasks.withType(Jar).named("sourcesJar").get().archiveFile)

curseforge {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
Expand Down

0 comments on commit afd7eb9

Please sign in to comment.