-
Bug
-
Resolution: Fixed
-
P3
-
jfx13
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8266806 | jfx11.0.12 | Ambarish Rapte | P3 | Resolved | Fixed |
When compiling the current JavaFX using gradle 5.3, we get two deprecation warnings for features that will be removed in 6.0. At some point we will likely want to move to gradle 6, so these should be addressed before then.
1. enableFeaturePreview('STABLE_PUBLISHING')
enableFeaturePreview('STABLE_PUBLISHING') has been deprecated. This is scheduled to be removed in Gradle 6.0. The feature flag is no longer relevant, please remove it from your settings file.
at settings_1mxe2ji3njomuaudhj2grcf3n.run(/localhome/kcr/javafx/github/kcr-jfx/settings.gradle:40)
2. IvyArtifactRepository.layout(String, Closure)
The IvyArtifactRepository.layout(String, Closure) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the IvyArtifactRepository.patternLayout(Action) method instead.
at build_cy0kvghox5p95hcs9p72niyqm$_run_closure14$_closure91$_closure98.doCall(/localhome/kcr/javafx/github/kcr-jfx/build.gradle:1842)
The first one was added as a transitional step to allow us to support both gradle 4 and gradle 5 while we were moving to gradle 5. It can be removed, and will require bumping the minimum version of gradle to 5.x (we've long been using 5.3 so that isn't a problem).
The second one should be simple replacement to use the newer API. I note that the same pattern appears in multiple places in build.gradle and one place in buildSrc/biuld.gradle, all of which will need to be fixed.
1. enableFeaturePreview('STABLE_PUBLISHING')
enableFeaturePreview('STABLE_PUBLISHING') has been deprecated. This is scheduled to be removed in Gradle 6.0. The feature flag is no longer relevant, please remove it from your settings file.
at settings_1mxe2ji3njomuaudhj2grcf3n.run(/localhome/kcr/javafx/github/kcr-jfx/settings.gradle:40)
2. IvyArtifactRepository.layout(String, Closure)
The IvyArtifactRepository.layout(String, Closure) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the IvyArtifactRepository.patternLayout(Action) method instead.
at build_cy0kvghox5p95hcs9p72niyqm$_run_closure14$_closure91$_closure98.doCall(/localhome/kcr/javafx/github/kcr-jfx/build.gradle:1842)
The first one was added as a transitional step to allow us to support both gradle 4 and gradle 5 while we were moving to gradle 5. It can be removed, and will require bumping the minimum version of gradle to 5.x (we've long been using 5.3 so that isn't a problem).
The second one should be simple replacement to use the newer API. I note that the same pattern appears in multiple places in build.gradle and one place in buildSrc/biuld.gradle, all of which will need to be fixed.
- backported by
-
JDK-8266806 FX build fails using gradle 5.6+ or 6
- Resolved
- blocks
-
JDK-8232063 Upgrade gradle to version 6.0
- Resolved