Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
MIT License
Bot releases are hidden (Show)
Published by maxandersen about 3 years ago
Release that enables specifying java version and main method + java options when setting up aliases. Useful when you cannot change the jar or source code the alias refer to, i.e. jbang alias add --java 16 <urltojar>
You can now refer to {scriptref}
in templates to know what file name user pointed to when running jbang init
.
Also piping script to a jbang
is now a bit smarter - it will try and find a main class so cat main.java | jbang -
will just work; and otherwise it will assume the input is jshell
style code. If you want to force jshell behavior you can activate that with --jsh
, ie. cat main.java | jbang --jsh -
java
and main
options to aliases (#979)build
now has --catalog
option too (#977)We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub
Published by maxandersen about 3 years ago
We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub
Published by maxandersen over 3 years ago
Special edition release jumping a few version numbers by accident :)
Big thing in this release is you can now refer to properties when using jbang init
, i.e jbang init -Dkey=value mytemplate@acmeio
and
jbang will now honour maven.local.repo
system property if present.
And thanks to @aalmiray JBang is now released using jreleaser.org.
Max Rydahl Andersen, Andres Almiray
Published by maxandersen almost 5 years ago
Published by maxandersen almost 5 years ago
Published by maxandersen almost 5 years ago