Friends of OpenJDK Today

JReleaser 0.9.0 Released!

November 30, 2021

Author(s)

  • Avatar photo
    Gerrit Grunwald

    JUG Leader, Java Champion, Speaker, Author, ❤️ Java(FX) and coding in general

JReleaser is a tool that streamlines creating releases for [Java] projects. It can create a GitHub/GitLab/Gitea release, while also packaging binaries for Homebrew, Snapcraft, Docker, Chocolatey, Scoop, JBang and, more than that, announces releases to Twitter, SdkMan!, e-mail, Zulip, Discord, Gitter, Slack, Teams, and more.

JReleaser v0.9.0 has just been released! JReleaser v0.9.0 is a big update as we gear towards v1.0.0. Plenty of improvements were added to this release to make it the best one so far. Be mindful of the breaking changes introduced in this release.There are plenty of improvements in several areas, a quick summary of the highlights follows:

  •  Jlink. We've made several improvements to the Jlink assembler. In particular it's now possible to create a Jlink image for Quarkus applications using their fast JAR layout. You'll find an example at the project's documentation. You can find a fully working example based on Quarkus at https://github.com/aalmiray/q-cli-jlink.
  • JDKs. You can now provision JDKs using the Foojay Discovery API. This feature lets you define JDK requirements that the Disco API will resolve into downloadable packages. You may continue to use the explicit setup as well.
  • Docker. There's an additional template that lets you create Docker images by downloading artifacts from their published URL. You may continue to build Docker images using local artifacts as well. Publication of Docker sources to a Git repository used to place each version in its own sub directory, this is now an optional feature and is disabled by default.
  • Gradle. Plenty of updates made to the Gradle plugin to ensure it's on par with its Maven counterpart. In particularbrew.tap has been renamed tobrew.repoTap. The default outputs of thedistZip anddistTar task are no longer automatically added as a distribution, you must explicitly register the artifacts you need.
  • FileSets. FileSets are similar to Globs in the sense that you can define a pattern to collect files to be added to an assembler. Unlike Globs, FileSets retain the relative directory structure. FileSet now accept extraProperties like Globs and Artifacts, also their properties accept named templates. All assemblers support fileSets.
  • MacPorts. MacPorts joins the list of supported platform packagers. For the time being only JAVA_BINARY and NATIVE_IMAGE distributions are supported.
  • Engine. Refinements to inclusion/exclusion of assemblers, packagers, uploaders, and announcers were added to the CLI, Ant tasks, Maven, and Gradle plugins. You may now include or exclude multiple items, giving you finer control.
  • Chocolatey. You can now locally package and publish Chocolatey packages if you're running on Windows. PowerShell is required.
  • Internationalization. We now have full translations for core in English, Russian, and Catalan. German is in the works. We also have new Traditional Chinese and Russian translations for the CLI.

Full changelog can be found at the v0.9.0 release page.

More information about the tool can be found at https://jreleaser.org.

Topics:

Related Articles

View All

Author(s)

  • Avatar photo
    Gerrit Grunwald

    JUG Leader, Java Champion, Speaker, Author, ❤️ Java(FX) and coding in general

Comments (3)

Your email address will not be published. Required fields are marked *

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Save my name, email, and website in this browser for the next time I comment.

IntelliJ IDEA, JEP 421, Groovy, Open Liberty, Hibernate ORM, Eclipse Collections - R4 News

[…] 0.9.0 was published with improvements to Jlink assembler, the ability to provision JDKs using the Foojay Discovery API, […]

Java News Roundup: IntelliJ IDEA, JEP 421, Groovy, Open Liberty, Hibernate ORM, Eclipse Collections

[…] 0.9.0 has been released with improvements to Jlink assembler, the ability to provision JDKs using the Foojay Discovery API, […]

Java近期新闻:IntelliJ IDEA、JEP 421、Groovy、Open Liberty、Hibernate ORM 和 Eclipse Collections – 技术点滴

[…] 已经发布,改进了 Jlink 汇编器,能够使用 Foojay Discovery API 配置 JDK,更新了 Gradle […]

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard