Skip to content

Commit

Permalink
Fix ore publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Sep 15, 2024
1 parent 407bbf4 commit dd2b0ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions buildSrc/src/main/kotlin/bluemap.ore.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ oreDeployment {
projectId = "bluemap"
createForumPost = true
versionBody = project.releaseNotes()
publishArtifacts.setFrom(tasks.getByName("release").outputs.files.singleFile)
}
}

tasks.publishToOre {
tasks.getByName("publishDefaultPublicationToOre") {
dependsOn(tasks.getByName("release"))
}
6 changes: 6 additions & 0 deletions implementations/sponge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ tasks.shadowJar {

}

oreDeployment {
defaultPublication {
publishArtifacts.setFrom( tasks.getByName("release").outputs.files.singleFile )
}
}

modrinth {
gameVersions.addAll(supportedMinecraftVersions)
}

0 comments on commit dd2b0ce

Please sign in to comment.