v0.95.0
Changelog
This release introduces "globbing" for --sources
and --files
meaning you can do things like:
jbang --sources src/main/java --files src/main/resources script.java
or if you want only .java and only .html files:
jbang --sources src/main/java/**.java --files src/main/resources/**.html script.java
This lets you build bigger projects with more complex structures, while still being quite compact.
A interesting sideeffect of these features is that JBang can now be used to build JBang itself. See bootstrap.java if interested - still a few things needed to do a 100% bootstrap but we are getting closer :)
As been a while since a release also a good bunch of bugfixes, especially around alias handling that had a regression. If aliases was not behaving as you expect try this update and things should be better!
🚀 Features
- 902c8cb --sources and --files can now refer to directories
- 023d820 //FILES now supports globbing and new --resources option
- cd6a7eb added
--available
tojdk list
- 81ed889 add in-progress bootstrap.sh to build jbang with jbang
🐛 Fixes
- 8489101 make tests work on Windows
- b880866 sub folders are now properly handled for globbed resources
- 94bee92 inclusion of all resources
- 8057fba remove todo
- 26b7688 export can now build jbang with jbang
- 207ca62 make aliases work with --repos (#1372)
- 2d8e343 aliases now correctly added
- 07e99c8 --sources now handle comma separated input (#1365)
- f526a7d can now use globbing for
--sources
- d05dced move away from java.io.File to Path/Files
♻️ Changes
- 411507d extracted CLI source options into a mixin
- 9dc4741
--resource
/-r
are now--files
/-f
- 95adbfd removed
Vendor
enum - cf0b6c1 clean-up of the JdkManager code
- 047f51a remove ability to set Jdk release
🧰 Tasks
- d418f2a slightly improved error message when using globbing
- 08f0b99 minor code cleanup
- 38fd9a0 fix typo in configuration.adoc (#1366)
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Ikko Ashimine, Max Rydahl Andersen, GitHub