mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-01-08 09:17:43 +01:00
Add gradle-deployment to Ore
This commit is contained in:
parent
5ac293ca18
commit
1ae6fc790d
@ -8,6 +8,7 @@ plugins {
|
||||
id ("com.github.johnrengelman.shadow") version "7.1.2"
|
||||
id ("org.spongepowered.gradle.plugin") version "2.0.0"
|
||||
id ("com.modrinth.minotaur") version "2.+"
|
||||
id("org.spongepowered.gradle.ore") version "2.2.0"
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.bukkit"
|
||||
@ -142,4 +143,14 @@ modrinth {
|
||||
|
||||
tasks.register("publish") {
|
||||
dependsOn("modrinth")
|
||||
dependsOn("publishToOre")
|
||||
}
|
||||
|
||||
oreDeployment {
|
||||
apiKey(System.getenv("ORE_TOKEN"))
|
||||
defaultPublication {
|
||||
projectId.set("BlueMap")
|
||||
versionBody.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
publishArtifacts.setFrom(tasks.findByName("shadowJar"))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user