This is the continuation of the split of the Maven publishing made in https://github.com/openjdk/jfx/pull/1970. Since the `build.gradle` file had become so large, adding more Maven code was out of question in the past. Thanks to the split, we can now quickly and easily add support for JavaFX Sources, thereby significantly simplifying testing.
This can be tested by: `./gradlew publishToMavenLocal -PMAVEN_PUBLISH=true -PMAVEN_VERSION=custom` This will create a JavaFX version named 'custom' in your .m2 folder (under `~/.m2/org/openjfx/javafx-XXX/custom`). The sources should be there as well now. The original PR https://github.com/openjdk/jfx/pull/2144 can not be reopened because I force pushed it, see the bot comment here: https://github.com/openjdk/jfx/pull/2144#issuecomment-5398495316 --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8276170: Create Sources when publishing to Maven Changes: https://git.openjdk.org/jfx/pull/2273/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2273&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8276170 Stats: 14 lines in 1 file changed: 13 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx/pull/2273.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2273/head:pull/2273 PR: https://git.openjdk.org/jfx/pull/2273
