Can not build intuit/karate on java 11.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project karate-junit4: Compilation failure
[ERROR] /home/dev/projects/karate/karate/karate-junit4/src/test/java/com/intuit/karate/junit4/demos/UiRunner.java:[14,12] cannot access javafx.application.Application
[ERROR] class file for javafx.application.Application not found
oracle has removed javaFX form Java Development Kit (JDK) 11, hence need to provide dependency on javafx-controls module. I have added the dependency on pom.xml as a fix and will send the pull request.
`<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12-ea+9</version>
</dependency>`
@shiluka thanks ! looks good.
one observation is that the "fatjar" size is now 25 MB instead of 17 MB. I guess it is not too bad :|
I also notice the log has stopped appearing in the textarea in the UI - hope someone can take a look
I guess the JAR may become a little more bigger when we use GraalVM, ref #646
@ptrthomas observed the logging issue after 0.9.1 itself.
@babusekaran thanks, that is what I thought. needs fixing.
released 0.9.2