This plugin has no direct dependency on the plugin development plugin, so it could be used with, say, ForgeGradle for people who want to publish forge mods, or to publish API 7 plugins that don't use the modern SpongeGradle.
A typical plugin author buildscript will have something like:
oreDeployment.defaultPublication {
// channel.set("Release") // optional, if a non-default channel is wanted
if (project.hasProperty("changelog")) {
versionBody.set(file(project.property("changelog")!!).readText(Charsets.UTF_8))
}
}
Add a plugin to publish artifacts to Ore.
This plugin has no direct dependency on the plugin development plugin, so it could be used with, say, ForgeGradle for people who want to publish forge mods, or to publish API 7 plugins that don't use the modern SpongeGradle.
A typical plugin author buildscript will have something like:
The full extension looks something like:
Future work could make it easier to publish to multiple ore hosts, but this allows one project to have multiple artifacts published at least.