$ git clone https://github.com/coursier/coursier.git
$ cd coursier
$ git rev-parse HEAD
dc5b9f127e4a7b26317a656ef7f10f10c4f3c625
$ scripts/generate-launcher.sh --assembly
$ $GRAALVM_HOME/bin/native-image --enable-http --enable-https --no-fallback -jar coursier coursier-graalvm
$ ./coursier-graalvm resolve org.apache.spark:spark-sql_2.12:2.4.2 --no-default -r http://repo1.maven.org/maven2
…
See also the stale/test-graalvm
branch, with workarounds for APIs relying on reflection, that should be ported to the current master.