Spock: SPOCK on JAVA 10 ?

Created on 22 May 2018  路  5Comments  路  Source: spockframework/spock

Will spock work on JAVA 10, If so what is the stable version to be used to load the Jar using Maven ?

Most helpful comment

We use Java 10 and I added the following dependencies to my project https://github.com/spockframework/spock/pull/842/files and it works fine.

All 5 comments

1.1-groovy-2.4 works with java 10.

We use Java 10 and I added the following dependencies to my project https://github.com/spockframework/spock/pull/842/files and it works fine.

@tunaranch What are the issues with running Spock 1.0 on Java 10?

With ab48b3c3506f3ffe66625d9f1aaf554df83211b1 and groovy-2.5 53ca9f1cd7672f5359002eb12b3cc602ac606b07 there should be no problems.

So, if I understood you correctly, Spock 1.0 runs on JDK 10 and above as long as the code it handles has been compiled with target 1.8 or less, right?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

szpak picture szpak  路  8Comments

YaroSpace picture YaroSpace  路  7Comments

minjing picture minjing  路  4Comments

ahlinist picture ahlinist  路  7Comments

Derbeth picture Derbeth  路  10Comments