ggrossetie / asciidoctorg

Asciidoctor.js on the JVM using GraalVM!
2 stars 0 forks source link
asciidoctor graalvm java

= Asciidoctor.js on the JVM using GraalVM!

ifdef::env-github[] image:https://img.shields.io/travis/Mogztter/asciidoctorg/master.svg[Travis build status, link=https://travis-ci.org/Mogztter/asciidoctorg] endif::[]

This project demonstrate how Asciidoctor.js can be embed in a Java application using the GraalVM Polyglot API.

[caption=Status] CAUTION: This project is a proof of concept.

== Build

. Install https://www.graalvm.org/docs/getting-started/#install-graalvm[GraalVM] . Install Maven 3.5 or greater . Run the following command:

$ mvn clean install

[IMPORTANT]

Make sure that Maven is using the java binary provided by GraalVM. You can specify the JAVA_HOME environment variable before the mvn command:

$ JAVA_HOME=/path/to/graalvm mvn clean install