Slackbot
04/27/2022, 8:19 PMAaron Todd
04/27/2022, 8:21 PMgradle-nexus/publish-plugin which goes through a nexus repository.
Nexus has the ability to stage a set of changes which would theoretically work. The only issue is this isn't implemented yet: https://github.com/gradle-nexus/publish-plugin/issues/19
We're pondering taking this up or forking the plugin but wanted to see if I'm missing something obvious or find out what others are doing.grossws
04/27/2022, 8:33 PMpublishing.repositories {
maven {
name = "local"
setUrl(rootProject.layout.buildDirectory.dir("repo"))
}
}
Releases are done automatically from a tag. If you have reproducible builds it could be used instead of staging. Keep in mind that it's not really a staging though. Also it could be good for integration/functional/e2e testing (especially of the gradle plugins).Aaron Todd
04/28/2022, 1:32 PMsetArtifacts())
(1) may end up being the easiest I'm just not sure if I'm missing anything here or if it's more complicated than that. (2) seems like it may be hard to get the pom files correct as documentation indicates it's going to generate a pom file when we already have one at this point.