Skip to content

Update Build to use JDK9+ with release option #808

Closed
@leonard84

Description

@leonard84

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions