-
I am having an issue with CI system having installed newer JDKs that docToolchain supports. The issue is that docToolchain uses older JBake and gradle that are not compatible with the latest JDK and don't run on Apple Silicon processor (where CI lives). Further complication is that jbake is an "RC" version that's not available in maven central yet. Is there a way for docToolchain just use preinstalled gradle and jbake? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
sorry that it took me so long to answer. the problem with the jdk is solved through docToolchain having its own jdk (install through The reason why we are still on an older JDK is the asciidoctor gradle plugin used for Regarding the jBake version, I am sure there is a mechanism which allows us to drop the library somewhere in the file structure and then use it. But I havent tried it yet. Last time I took a look at it, it still mentioned that even the RC has problems with apple silicon. Is this resolved by now? |
Beta Was this translation helpful? Give feedback.
-
We are currently stuck with Gradle 7.0.2 and Java 11 due to a bug in the Asciidoctor Gradle Plugin 3.* (for more details see #1102 ). As far as I can tell, JBake 2.7.0-rc.7 still has problems with Java 11 on Mac (ARM) - see jbake release notes v2.7.0-rc.7. As you can see from #1102 tracking the dependencies of the different components is not an easy task. This is why docToolchain vendors its components (this includes Gradle and the Java). We could not support all the different environments/versions. |
Beta Was this translation helpful? Give feedback.
We are currently stuck with Gradle 7.0.2 and Java 11 due to a bug in the Asciidoctor Gradle Plugin 3.* (for more details see #1102 ). As far as I can tell, JBake 2.7.0-rc.7 still has problems with Java 11 on Mac (ARM) - see jbake release notes v2.7.0-rc.7.
As you can see from #1102 tracking the dependencies of the different components is not an easy task. This is why docToolchain vendors its components (this includes Gradle and the Java). We could not support all the different environments/versions.