RFR: 8333146: Move maven publication logic from build.gradle [v6]

Marius Hanl mhanl at openjdk.org
Mon Dec 8 11:50:15 UTC 2025


On Fri, 5 Dec 2025 15:02:32 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

> I think you might have it backwards: `all` should depend on the task to build the publications, not the other way around. The goal is that `gradle all` should produce `build/publications`.

Did you have a specific idea in mind when writing the message? 
I ran a few tests, but nothing worked without explicitly writing `publishToMavenLocal` within the command.
And I don't want to worsen the separation between the main and publish gradle files.
If there's no idea at the moment, then I'll continue looking for a good solution!

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1970#issuecomment-3626517617


More information about the openjfx-dev mailing list