Skip to content

Commit

Permalink
Gradle's publish task should run publishMod
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Feb 2, 2024
1 parent 331a87e commit f994203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ changelog {
}

subprojects {
apply plugin: "maven-publish"
apply plugin: "dev.architectury.loom"

loom {
Expand Down Expand Up @@ -136,6 +137,8 @@ subprojects {
modrinth findProperty("modrinth_token") ?: System.getenv("MODRINTH_TOKEN") ?: ""
}
}

tasks.publish.dependsOn tasks.publishMod
}
}

Expand Down

0 comments on commit f994203

Please sign in to comment.