Skip to content

Commit 20cdb11

Browse files
committed
bump minimum required version 6.4 to not have to deal with broken evaluateLater
1 parent 5508ac0 commit 20cdb11

File tree

3 files changed

+3
-103
lines changed

3 files changed

+3
-103
lines changed

src/main/java/org/openjfx/gradle/JavaFXPlugin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public class JavaFXPlugin implements Plugin<Project> {
5454

5555
@Override
5656
public void apply(Project project) {
57-
if (GradleVersion.current().compareTo(GradleVersion.version("6.1")) < 0) {
58-
throw new GradleException("This plugin requires Gradle 6.1+");
57+
if (GradleVersion.current().compareTo(GradleVersion.version("6.4")) < 0) {
58+
throw new GradleException("This plugin requires Gradle 6.4+");
5959
}
6060
// Make sure 'java-base' is applied first, which makes the 'SourceSetContainer' available.
6161
// More concrete Java plugins that build on top of 'java-base' – like 'java-library' or 'application' –
@@ -94,7 +94,7 @@ public void execute(Project project) {
9494
project.getTasks().named("run", JavaExec.class, new Action<JavaExec>() {
9595
@Override
9696
public void execute(JavaExec task) {
97-
if (GradleVersion.current().compareTo(GradleVersion.version("6.4")) >= 0 &&task.getMainModule().isPresent()) {
97+
if (task.getMainModule().isPresent()) {
9898
return;
9999
}
100100
final var fxPlatform = javaFXOptions.getFxPlatform();

src/test/java/org/openjfx/gradle/JavaFXPluginSmokeTestGradle61.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

src/test/java/org/openjfx/gradle/JavaFXPluginSmokeTestGradle63.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)