Skip to content

Commit

Permalink
Fix Modrinth publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
magneticflux- committed Oct 12, 2022
1 parent 1fd45af commit 6ff0cb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ afterEvaluate {
// CurseGradle generates tasks in afterEvaluate for each project
// There isn't really any other way to make it depend on a task unless it is an AbstractArchiveTask
val curseforgeTask = tasks.getByName("curseforge$curseforge_id")
val modrinthTask = tasks.modrinth
tasks.publish {
dependsOn(curseforgeTask)
dependsOn(curseforgeTask, modrinthTask)
}
}

0 comments on commit 6ff0cb3

Please sign in to comment.