New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Build to use JDK9+ with release option #808

Open
leonard84 opened this Issue Jan 9, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@leonard84
Member

leonard84 commented Jan 9, 2018

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 release parameter.

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.

@bartoszwalacik

This comment has been minimized.

Show comment
Hide comment
@bartoszwalacik

bartoszwalacik Apr 12, 2018

Hi @leonard84, I'm a Spock power-user, I love Spock.
We want to migrate our projects to from Java8 to Java10, but since we have all tests written in Spock, we can't do it as I guess. What are your plans for Spock 2.0 release? Or maybe there is some workaround for us?

bartoszwalacik commented Apr 12, 2018

Hi @leonard84, I'm a Spock power-user, I love Spock.
We want to migrate our projects to from Java8 to Java10, but since we have all tests written in Spock, we can't do it as I guess. What are your plans for Spock 2.0 release? Or maybe there is some workaround for us?

@leonard84

This comment has been minimized.

Show comment
Hide comment
@leonard84
Member

leonard84 commented Jun 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment