jbang

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

Stars
1.3K
Committers
91

Bot releases are hidden (Show)

jbang - v0.79.0

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 -

Changelog

🚀 Features

  • 2d0195b added java and main options to aliases (#979)
  • 3d476c9 build now has --catalog option too (#977)
  • 99b5281 Add java-options for aliases (#976)
  • 5be76e6 detect main method in stdin to trigger java instead of jsh (#972)
  • aba5f68 be able to refer to scriptref in init templates (#968)

🧰 Tasks

  • 3f6688e disable docker and sdkman packagers
  • 09e6acc fix and expression
  • ff5984c checkout to fix build check
  • db060e4 only updatewebsite if docs folder changed
  • 2c329d1 fix package publish ch
  • 8dd106e use jreleaser directly for publish

  • cd8a820 [minor]
  • 6ad9dae Update usage.adoc

Contributors

We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub

jbang - v0.78.0

Published by maxandersen about 3 years ago

Changelog

🐛 Fixes

  • a0d6613 Update correct bash file on Mac (#966)

🧰 Tasks

  • 9767fba jreleaser fixes and sdkman upload

📝 Documentation

  • d0d5556 fix add alias. Fixes #943

  • fab2f81 [minor]
  • 16a444b fix twitter announcement

Contributors

We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub

jbang - v0.77.0

Published by maxandersen over 3 years ago

Changelog

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.

🚀 Features

  • 671a0f0 properties for init templates (#961)

🐛 Fixes

  • 8664a90 avoid jitpack gets added unnecessarily (#957)

🧰 Tasks

  • 127809a add additional jreleaser secrets
  • 31b2800 Add JReleaser configuration & templates (#899)

  • 5877729 [minor] relase
  • c470cfa Honor maven.repo.local system property to align with maven and gradle behavior. JBANG_REPO env variable will win if both present. (#958)
  • 2cb5973 add note about fish shell

Contributors

Max Rydahl Andersen, Andres Almiray

jbang - v0.0.2.2

Published by maxandersen almost 5 years ago

jbang - v0.0.1.12

Published by maxandersen almost 5 years ago

jbang - v0.0.1

Published by maxandersen almost 5 years ago

Package Rankings
Top 6.73% on Proxy.golang.org