-
Bug
-
Resolution: Fixed
-
P3
-
jfx11, 10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8210281 | 8u202 | Kevin Rushforth | P3 | Resolved | Fixed | b01 |
JDK-8211341 | 8u201 | Kevin Rushforth | P3 | Resolved | Fixed | b01 |
When compiling JavaFX using gradle 4.3 we get a few deprecation warnings for features that will be removed in 5.0. At some point we will likely want to move to gradle 5, so these should be addressed before then.
Here is the list of warnings:
A problem was found with the configuration of task ':buildSrc:generateGrammarSource'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
at build_61v2cahy4344a9o4ddauip62l.commonModuleSetup(/localhome/kcr/javafx/jfx-kcr/jfx/rt/build.gradle:867)
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_61v2cahy4344a9o4ddauip62l$_run_closure16.doCall(/localhome/kcr/javafx/jfx-kcr/jfx/rt/build.gradle:2076)
The Task.dependsOnTaskDidWork() method has been deprecated and is scheduled to be removed in Gradle 5.0. Instead, check the value of "didWork()" for each task, or declare the task inputs and outputs and let Gradle decide what needs to be run.
at build_61v2cahy4344a9o4ddauip62l$_run_closure43$_closure353$_closure356.doCall(/localhome/kcr/javafx/jfx-kcr/jfx/rt/build.gradle:4199)
Here is the list of warnings:
A problem was found with the configuration of task ':buildSrc:generateGrammarSource'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
at build_61v2cahy4344a9o4ddauip62l.commonModuleSetup(/localhome/kcr/javafx/jfx-kcr/jfx/rt/build.gradle:867)
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_61v2cahy4344a9o4ddauip62l$_run_closure16.doCall(/localhome/kcr/javafx/jfx-kcr/jfx/rt/build.gradle:2076)
The Task.dependsOnTaskDidWork() method has been deprecated and is scheduled to be removed in Gradle 5.0. Instead, check the value of "didWork()" for each task, or declare the task inputs and outputs and let Gradle decide what needs to be run.
at build_61v2cahy4344a9o4ddauip62l$_run_closure43$_closure353$_closure356.doCall(/localhome/kcr/javafx/jfx-kcr/jfx/rt/build.gradle:4199)
- backported by
-
JDK-8210281 Fix gradle deprecation warnings
- Resolved
-
JDK-8211341 Fix gradle deprecation warnings
- Resolved
- blocks
-
JDK-8201553 Update FX build to use gradle 4.8
- Resolved
-
JDK-8198329 Support FX build / test using JDK that doesn't include javafx.* modules
- Resolved
- relates to
-
JDK-8185358 gradle 4.X has changed location of built classes
- Resolved