Closed jmini closed 2 years ago
I'm open to a PR that fixes for Java 8, but since SWT has bumped minimum to 11 for a little while now it's not high on my priority list.
Are you building with Java 8 or 11 ?
I have the feeling, if you build with java 11, the test is not doing that much, see L28:
A quick fix is to change this line to run only with java 11…
I would appreciate if this plugin (I am more using the eclipseMavenCentral
one) continues to be built with 8. I have some legacy builds that use this version and we did not moved them to a Java 11 version yet.
It's still built with Java 8, and I've got no plans to change that :)
It gets tested against Java 8 and Java 11, but the Java 8 test is broken due to the issue you have identified here.
So if I followed correctly, PR https://github.com/diffplug/goomph/pull/169 is a correct fix for the Java 8 build.
I think the test really does require Java 8, but it uses the latest EclipseRelease, so it was grabbing an SWT that needs Java 11. Effing mess :). Fixed now.
When I run
./gradlew build
using Java 8 I get this error:I did not look at all the details, but I can imagine that the SWT version used by the plugin inside the test is now requiring Java 11.