3 ms·
Hello, As you may know since Java 11 you can run single source Java files directly without compiling anything. It is a very useful feature which allows you to
by lambdaprime 6y ago
Hello,
As you may know since Java 11 you can run single source Java files directly without compiling anything. It is a very useful feature which allows you to write scripts in Java.
The problem which I was always struggling with is how to use any Java library available in Maven repository right from the Java script.
To address this problem I wrote depresolve command line tool. It will resolve all dependencies, download missing artifacts to your local repository and build a classpath for your script.
https://github.com/lambdaprime/depresolve https://github.com/lambdaprime/depresolve