We are facing a build issue with jdk11 as below, which seems to be known issue with java version check.
Caused by: name.valery1707.kaitai.KaitaiException: Fail to generate Java files
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at name.valery1707.kaitai.GenerateTask.action(GenerateTask.groovy:119)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
... 87 more
Caused by: name.valery1707.kaitai.KaitaiException: Fail to execute kaitai command:
The java installation you have is not up to date
requires at least version 1.6+, you have
version 11.0.8
Please go to http://www.java.com/getjava/ and download
a valid Java Runtime and install before running .
at name.valery1707.kaitai.KaitaiGenerator.execute(KaitaiGenerator.java:225)
at name.valery1707.kaitai.KaitaiGenerator.generate(KaitaiGenerator.java:244)
at name.valery1707.kaitai.KaitaiGenerator$generate$4.call(Unknown Source)
at name.valery1707.kaitai.GenerateTask.action(GenerateTask.groovy:111)
... 91 more
Caused by: org.buildobjects.process.ExternalProcessFailureException: External process '/home/user1/.gradle/kaitai-cache/kaitai-struct-compiler-0.8/kaitai-struct-compiler-0.8/bin/kaitai-struct-compiler --version' returned 1 after 166ms
Stderr unavailable as it has been consumed by user provided stream.
at org.buildobjects.process.Proc.<init>(Proc.java:124)
at org.buildobjects.process.ProcBuilder.run(ProcBuilder.java:205)
at name.valery1707.kaitai.KaitaiGenerator.execute(KaitaiGenerator.java:220)
... 94 more
Any plans on supporting the noVersionCheck for gradle plugin, which is available with the latest release of kaitai-maven-plugin as this issue can be avoided by passing a no-version-check flag?
We are facing a build issue with jdk11 as below, which seems to be known issue with java version check.
Any plans on supporting the noVersionCheck for gradle plugin, which is available with the latest release of kaitai-maven-plugin as this issue can be avoided by passing a no-version-check flag?