Skip to content

Commit

Permalink
Fix the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug committed Jan 1, 2024
1 parent a1f70b5 commit 15e1a4e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions publish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ plugins {
evaluationDependsOn(":common")
evaluationDependsOn(":fabric")
evaluationDependsOn(":neoforge")

Spec<Task> publishTask = { Task it -> it.name.startsWith("publish") } as Spec<Task>

tasks.matching(publishTask).configureEach {
it.dependsOn(":neoforge:jarJar")
}

publishMods {
changelog = rootProject.file("CHANGELOG.md").text
type = STABLE
Expand Down Expand Up @@ -48,7 +55,6 @@ publishMods {
}

curseforge("curseforgeNeoforge") {
dependsOn(":neoforge:jarJar")
file = project(":neoforge").jar.archiveFile
displayName = "v${version} (NeoForge ${minecraft_version})"

Expand All @@ -59,7 +65,6 @@ publishMods {
}

modrinth("modrinthNeoforge") {
dependsOn(":neoforge:jarJar")
file = project(":neoforge").jar.archiveFile
displayName = "v${version} (NeoForge ${minecraft_version})"

Expand All @@ -70,7 +75,6 @@ publishMods {
}

github {
dependsOn(":neoforge:jarJar")
additionalFiles.from(
project(":fabric").remapJar.archiveFile,
project(":neoforge").jar.archiveFile)
Expand Down

0 comments on commit 15e1a4e

Please sign in to comment.