github jbangdev/jbang v0.54.0

latest releases: v0.135.1, v0.135.0, v0.134.3...
5 years ago

0.54.0 (2020/11/22)

Mainly a bunch of minor bug fixes and improvements, highlights being:

There are now a --fresh flag to use to indicate to jbang to use fresh data, not cached data.
Allow you to force a build for a specific run without having to clear the full cache.

When using .jsh there are now default imports added to simplify writing code faster:

import java.util.*;
import java.io.*;
import java.net.*;
import java.math.BigInteger;
import java.math.BigDecimal;

Temporary Gradle now includes application definition making IDE's like intellij able to provide run/debug out of the box.

Fixed command line handling on Windows so now long classpaths will not fail, but instead use @-file support of java to run with
commands with more than 8192 characters.

JavaFX Windows dependency resolution was broken and should now be fixed!

More details below...

Features

  • force update. Add -f --fresh flag (#495) (#49ae10ef)
  • added snap publishing on tag (#2ba737ee)
  • .jsh auto imports java.util.,java.io.,java.net.*,java.math.BigInteger,java.math.BigDecimal

Bug Fixes

  • use shell comment in direct run example (#500) (#b5d22bdd)
  • remove brew explicit dependency on java being installed (#dd66cf7c)
  • build.gradle having full classname (#6bc5a0e1, closes #18)
  • Default JDK wasn't properly set on Windows (#525) (#6804ecc8)
  • jfxname magic property fixed on windows Fixes #526 (#527) (#03e315cf, closes #526)
  • long classpath problem on Windows (#524) (#6310bbd4)
  • do not pickup commented out @grab (#d943577f, closes #434)
  • #18: enable gradle run, fix 'build.gradle' formatting (redundant tabs) (#d26e6382)
  • #519: Fix disabled ::add-path:: command in ci-build (#520) (#c0fb96d8)

Refactor

  • build() now cleans up after itself (#499)

Don't miss a new jbang release

NewReleases is sending notifications on new releases.