From b7b4d392ed3ac0e32801170c394c7d450f21a055 Mon Sep 17 00:00:00 2001 From: WANG CHAO <1229983126@qq.com> Date: Wed, 20 Feb 2019 12:16:49 +0800 Subject: [PATCH] build.gradle: upgrade testFX dependency to 4.0.15-alpha MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current testFx dependency we are using is 4.0.12-alpha, which gives the error below when testing with JDK 11: java.lang.RuntimeException Caused by: java.lang.NoSuchMethodError TestFX adds support for JDK 11 since version 4.0.14-alpha.[1] As we are planning to use JDK 11+ as our supported language, let’s upgrade the testFX dependency to its latest stable version 4.0.15-alpha to solve the problem. [1]https://github.com/TestFX/TestFX/issues/640 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 923af1894f15..a4b8fcff6401 100644 --- a/build.gradle +++ b/build.gradle @@ -61,7 +61,7 @@ if (SystemUtils.IS_OS_WINDOWS) { } dependencies { - String testFxVersion = '4.0.12-alpha' + String testFxVersion = '4.0.15-alpha' String jUnitVersion = '5.1.0' compile "org.openjfx:javafx-base:11:${platform}"