This PR is based on: https://github.com/openjdk/jfx/pull/1970
The last commit of this PR can already be reviewed, but this PR will only be 
merged after the previous PR was merged.

This is the continuation of the split of the Maven publishing. 
Since the `build.gradle` file had become so large, adding more Maven code was 
out of the 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`)

---------
- [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
 - all task build the publication now
 - Merge branch 'master' of https://github.com/openjdk/jfx into 
833146-mvn-publish
 - Use defineProperty and fail method from default build.gradle
 - Depend maven publishing on the build modules task
 - Merge branch 'master' of https://github.com/openjdk/jfx into 
833146-mvn-publish
 - remove print
 - Use projects directly
 - Further reduce coupling between main build.gradle and maven-publish.gradle
 - Move MAVEN_GROUP_ID and fail() over to maven-publish.gradle
 - ... and 2 more: https://git.openjdk.org/jfx/compare/7b845519...3b0f553c

Changes: https://git.openjdk.org/jfx/pull/2144/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2144&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8276170
  Stats: 478 lines in 3 files changed: 281 ins; 196 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/2144.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2144/head:pull/2144

PR: https://git.openjdk.org/jfx/pull/2144

Reply via email to