github jbangdev/jbang v0.98.0

latest releases: v0.132.1, v0.132.0, v0.131.0...
3 years ago

New feature release!

MANIFEST

New //MANIFEST keyword to allow writing entries to META-INF/manifest.mf including supporting build time variables:

//MANIFEST version=${version:unknown}

will result in version=unknown by default and version=1.2 if built using jbang -Dversion=1.2 yourapp.java.

build.jbang (preview)

using jbang to building project is easy; what if you also want to run tests or other build related tasks. For that jbang are hitting its limits but we think there might be a few things we can do without forcing users to use maven/gradle/etc builds.

In this version we enabled build.jbang to be picked up and read the commands from that external file. We will evolve/change that format but at least you can try out jbang without having a single // directive in any of your .java files.

Changelog

🚀 Features

  • 65f5723 Added //MANIFEST option for source files (#1445)
  • 731399a added support for build.jbang project files
  • 9faf9f8 Hide .project/.classpath from virtual project in VS Code (#1430)

🐛 Fixes

  • 155c8aa force minimum java 11 for quarkus init
  • 55b7833 Bump picocli to 4.6.3 in doc and src
  • 94c48c1 Bump Quarkus 1.11.0.Final -> 2.11.2.Final
  • d76a13d change kotlinc's extension to .bat on Windows (#1434)
  • ce7595c typo in README.md.tpl (#1431)

♻️ Changes

  • d28b4f3 more central role for Project
  • 253a1af moved build-related code from RunContext to Project
  • e62f430 introduced the concept of Project

🧰 Tasks

  • 2515783 put new project features behind --preview option

Contributors

We'd like to thank the following people for their contributions:
YeungYeah, Michael Bornholdt Nielsen, Tako Schotanus, Ikko Ashimine, Max Rydahl Andersen, GitHub, Fred Bricon

Don't miss a new jbang release

NewReleases is sending notifications on new releases.