A simple demo of using Capsule to package an Avatar Node.js application.
There are two build files. build.gradle
creates a capsule that downloads dependencies at runtime, while build1.gradle
creates a capsule with embedded dependencies.
To build:
./gradlew capsule
To run:
java -jar build/lib/hello-nodejs.jar
This demo application is based on this blog post by Jonas Bandi.
Released to the public domain