Is it possible to publish all targets except for A...
# gradle
e
Is it possible to publish all targets except for Apple targets from Linux, and only Apple targets from a mac, or do all artifacts for a maven version need to be published from the same invocation?
j
There are publish tasks per target, so it is possible
c
Yes,you can,but it takes a bit of work. You will need to manually open a staging repository in maven cental, publish artifacts from the different build servers to that specific staging repo URL, and then manually close and release the artifacts
v
Not necessarily manually. You can probably automate it using the gradle nexus publish plugin. Which you should use anyway when publishing to Maven Central
e
Probably simpler to just keep building and publishing all the targets from GitHub's (slower) macos runners 😓
v
Maybe, yes
Or ... probably
😂 1
😄
e
I'm using gradle-maven-publish-plugin which should also be able to do this, but I don't think the pros of doing that outweigh the trouble of going through it