Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
build.gradle: upgrade testFX dependency to 4.0.15-alpha
Browse files Browse the repository at this point in the history
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]TestFX/TestFX#640
  • Loading branch information
fzdy1914 committed Feb 20, 2019
1 parent 95f3c42 commit b7b4d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit b7b4d39

Please sign in to comment.