Skip to content

Commit 463fdab

Browse files
committedSep 11, 2024
8337328: JavaFX build uses deprecated features that will be removed in gradle 9
Reviewed-by: kcr, angorya
1 parent dad80e9 commit 463fdab

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed
 

‎build.gradle

+6-3
Original file line numberDiff line numberDiff line change
@@ -2108,7 +2108,9 @@ allprojects {
21082108
// Set sourceCompatibility to the target release of Java. Most modules
21092109
// set compiler.options.release (to the same target version), which will
21102110
// override this setting, but it is needed for those modules that can't.
2111-
sourceCompatibility = JAVA_TARGET_VERSION
2111+
java {
2112+
sourceCompatibility = JAVA_TARGET_VERSION
2113+
}
21122114

21132115
// By default all of our projects require junit for testing so we can just
21142116
// setup this dependency here.
@@ -2123,6 +2125,7 @@ allprojects {
21232125
testRuntimeOnly group: "org.junit.jupiter", name: "junit-jupiter-engine", version: "5.8.1"
21242126
testRuntimeOnly group: "org.junit.platform", name: "junit-platform-commons", version: "1.8.1"
21252127
testRuntimeOnly group: "org.junit.platform", name: "junit-platform-engine", version: "1.8.1"
2128+
testRuntimeOnly group: "org.junit.platform", name: "junit-platform-launcher", version: "1.8.1"
21262129
testRuntimeOnly group: "org.junit.vintage", name: "junit-vintage-engine", version: "5.8.1"
21272130

21282131
if (BUILD_CLOSED && DO_JCOV) {
@@ -4723,8 +4726,8 @@ compileTargets { t ->
47234726
includeEmptyDirs = false
47244727
// Sets directory and file permissions in archive for Windows
47254728
if (IS_WINDOWS && IS_USE_CYGWIN) {
4726-
dirMode = 0755
4727-
fileMode = 0755
4729+
dirPermissions { unix(0755) }
4730+
filePermissions { unix(0755) }
47284731
}
47294732
from sdkArtifactsDir
47304733
into "${sdkBundleName}"

‎gradle/verification-metadata.xml

+8
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,14 @@
358358
<sha256 value="d9f420a64539a3edf60f80df0c6fd722b750725744c79ca40f7d25ae56ca4ba4" origin="Generated by Gradle"/>
359359
</artifact>
360360
</component>
361+
<component group="org.junit.platform" name="junit-platform-launcher" version="1.8.1">
362+
<artifact name="junit-platform-launcher-1.8.1.jar">
363+
<sha256 value="83a9ed68adcb76e60316a4d682fc48507865df2f0ab35f82695cc9995410e05e" origin="Generated by Gradle"/>
364+
</artifact>
365+
<artifact name="junit-platform-launcher-1.8.1.module">
366+
<sha256 value="6108932af9febe85e8ab758dc02af1d3a931a972100dad460b10961cbe361763" origin="Generated by Gradle"/>
367+
</artifact>
368+
</component>
361369
<component group="org.junit.vintage" name="junit-vintage-engine" version="5.8.1">
362370
<artifact name="junit-vintage-engine-5.8.1.jar">
363371
<sha256 value="176b53cd1bdbf9233e96c8b0c7a9e5b864282fbbdeba43b5ceafdedb29a49156" origin="Generated by Gradle"/>

0 commit comments

Comments
 (0)
Please sign in to comment.