On Tue, 14 Apr 2026 08:19:39 GMT, eduardsdv <[email protected]> wrote:

> I compared the contents of the "build" folder created during the following 
> Gradle commands, both with and without the changes from this PR.

Thanks a lot for testing and sharing your observations!

> gradlew all additionally creates the source-JARs in the "publications" folder

This is expected, so good news that it works for you as well! See also: 
https://github.com/openjdk/jfx/pull/1970#issuecomment-3616987499

> gradlew sdk does not create the folder "publications"

Correctly observed and also expected, see also: 
https://github.com/openjdk/jfx/pull/1970#issuecomment-3583569566
(We basically don't create those as we did not specify `publishToMavenLocal` or 
`all`)

> gradlew -PMAVEN_PUBLISH=true -PMAVEN_VERSION=XXX publishToMavenLocal 
> additionally creates the "modular-sdk" and "sdk" folders. The contents of 
> these folders differ from those created by the gradlew sdk.

It would be interesting what exactly differs. Basically, the 
`publishToMavenLocal` depends on the `buildModulesTask`. Which is the step we 
100% need before we can do the publishing. So it might be expected, but the 
artifacts should probably not differ from `gradlew sdk`.

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

PR Comment: https://git.openjdk.org/jfx/pull/2144#issuecomment-4242744819

Reply via email to