Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
/ jfx11u Public archive

Commit 6ff7384

Browse files
committed
8240539: Upgrade gradle to version 6.3
8232063: Upgrade gradle to version 6.0 8226754: FX build fails using gradle 5.6+ or 6 Reviewed-by: kcr Backport-of: 9ecc107
1 parent fdd0fa0 commit 6ff7384

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

build.gradle

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,10 @@ allprojects {
17671767
repositories {
17681768
ivy {
17691769
url JFX_DEPS_URL
1770-
layout "pattern", {
1770+
metadataSources {
1771+
artifact()
1772+
}
1773+
patternLayout {
17711774
artifact "[artifact]-[revision](-[classifier]).[ext]"
17721775
artifact "[artifact].[ext]"
17731776
}
@@ -1780,7 +1783,10 @@ allprojects {
17801783
mavenCentral()
17811784
ivy {
17821785
url "https://download.eclipse.org/eclipse/updates/4.6/R-4.6.3-201703010400/plugins/"
1783-
layout "pattern", {
1786+
metadataSources {
1787+
artifact()
1788+
}
1789+
patternLayout {
17841790
artifact "[artifact].[ext]"
17851791
}
17861792
}
@@ -1791,13 +1797,19 @@ allprojects {
17911797
repositories {
17921798
ivy {
17931799
url libAVRepositoryURL
1794-
layout "pattern", {
1800+
metadataSources {
1801+
artifact()
1802+
}
1803+
patternLayout {
17951804
artifact "[artifact].[ext]"
17961805
}
17971806
}
17981807
ivy {
17991808
url FFmpegRepositoryURL
1800-
layout "pattern", {
1809+
metadataSources {
1810+
artifact()
1811+
}
1812+
patternLayout {
18011813
artifact "[artifact].[ext]"
18021814
}
18031815
}
@@ -4334,6 +4346,7 @@ allprojects {
43344346
project.jar.enabled = false
43354347

43364348
// and redirect the resources into the module
4349+
project.sourceSets.main.output.resourcesDir = project.moduleDir
43374350
project.processResources.destinationDir = project.moduleDir
43384351
}
43394352

@@ -4367,6 +4380,7 @@ allprojects {
43674380
project.sourceSets.shims.resources.srcDirs += project.sourceSets.main.resources.srcDirs
43684381

43694382
// and redirect the resources into the module
4383+
project.sourceSets.shims.output.resourcesDir = project.moduleShimsDir
43704384
project.processShimsResources.destinationDir = project.moduleShimsDir
43714385

43724386
compileTestJava.dependsOn(copyGeneratedShimsTask)

build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jfx.build.jdk.buildnum.min=46
8484
# gradle/legal/gradle.md.
8585
# The jfx.gradle.version.min property defines the minimum version of gradle
8686
# that is supported. It must be <= jfx.gradle.version.
87-
jfx.gradle.version=5.3
88-
jfx.gradle.version.min=4.8
87+
jfx.gradle.version=6.3
88+
jfx.gradle.version.min=5.3
8989

9090
# Toolchains
9191
jfx.build.linux.gcc.version=gcc10.2.0-OL6.4+1.0

buildSrc/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,10 @@ repositories {
6060
if (buildClosed) {
6161
ivy {
6262
url jfxRepositoryURL
63-
layout "pattern", {
63+
metadataSources {
64+
artifact()
65+
}
66+
patternLayout {
6467
artifact "[artifact]-[revision].[ext]"
6568
artifact "[artifact].[ext]"
6669
}

gradle/legal/gradle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Gradle v5.3
1+
## Gradle v6.3
22

33
### Apache 2.0 License
44
<pre>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ project(":web").projectDir = file("modules/javafx.web")
3737
project(":media").projectDir = file("modules/javafx.media")
3838
project(":systemTests").projectDir = file("tests/system")
3939

40-
// Stable publishing behavior is the default in gradle 5.x.
41-
// This setting enables it in gradle 4.8 to help with the transition.
42-
enableFeaturePreview('STABLE_PUBLISHING')
43-
4440
def closedDir = file("../rt-closed")
4541
def buildClosed = closedDir.isDirectory()
4642

0 commit comments

Comments
 (0)