Join GitHub today
Update Build to use JDK9+ with release option #808
Java 7 has been EOL for a long time and due to an openjdk bug (722106b), Spock is using a deprecated runner on travis-ci that still offers oraclejdk7.
Starting with JDK9 there is the option to (correctly) compile for a previous Java version using the
For compatibility reasons Spock 1.x will stay on Java 7 level. Spock 2.x will require Java 8, since that will be the new baseline for the foreseeable future.
There is some refactoring necessary to make the current buildscripts work with this new mode. The JUnit build setup can be used as an example https://github.com/junit-team/junit5.
Hi @leonard84, I'm a Spock power-user, I love Spock.