Skip to content

Commit

Permalink
fix curseforge publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetrain1 committed Apr 12, 2023
1 parent c4a0b82 commit 3a371da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -539,12 +539,12 @@ curseforge {
mainArtifact(remapJar, closureOf<CurseArtifact> {
displayName = display_name
})
addArtifact(tasks.remapSourcesJar)
addArtifact(tasks.remapSourcesJar.get())
addArtifact(javadocJar)

afterEvaluate {
uploadTask.dependsOn(remapJar)
uploadTask.dependsOn(tasks.remapSourcesJar)
uploadTask.dependsOn(tasks.remapSourcesJar.get())
uploadTask.dependsOn(javadocJar)
}
})
Expand Down

0 comments on commit 3a371da

Please sign in to comment.