...and they shall know me by my speling errors.

Danno Ferrin (aka shemnon) on stuff that matters to him.

Gradle and Maven Plugins for 8u20 Update

The first feature maintenance release of Java 8, known as 8u20, is scheduled for release sometime in August (this could change, don’t get offended if it does). There are a number of changes coming to how the Java Packager works, a lot of them under the hood to aid the tooling of build tools and IDEs. I’de like to take some time to provide some updates.

Compatibility

Don’t worry, your old build tool integration will still work. If something breaks tell me and I’ll fix it… in 8u40. That’s just how it goes with large projects like the JDK.

There are new features that will require updates of the existing plugins. The Maven and Gradle plugins will be released after 8u20 comes out and will be released in their normal channels. Ant will still be integrated in the same jar it comes with in the JDK.

Version Number - 8.1.0

For the version numbering I have decided to somewhat synchronize it with the JDK releases. This next release wil be 8.1.0, and the release for 8u40 will be 8.2.0, and so on. The first digit will be the main JDK number, the second increments for each major maintenance release, and the last number will increment with each release I have to do. This will be the case with the Gradle plugin as well as the Maven plugin.

Maven Plugin

I’ve taken over maintenance of the Maven Plugin from Daniel Zwolenski. The key word being maintenance. I don’t intend on adding any new features that the core Java Packager doesn’t support directly. But I do intend for it to integrate with everything the Java Packager does provice (just not all at once). The main feature add will be integrating the new APIs provided in 8u20 and exposing the bundler arguments for configuration.

Gradle Plugin

Did you see they are getting a new plugin portal for Gradle 2.1? Just as soon as I get some free time I’ll try configuring it. But that’s my issue, my free time is so horribly fragmented at the moment.

Betas are Out

I’ve released the beta jars for the 8.1.0 version of the Maven and Gradle plugins. Maven is on the Sonatype OSS Snapshot Repository as 8.1.0-SNAPSHOT and Gradle is over at bintray with a version of 8.1.0-beta. Expect these to disappear soon after the final release is pushed.

More Posts Later

I will post more on some of the features at a later date. The main highlights are

  • You can create Mac App Store bundles
  • You can create Mac PKG Bundles
  • You can configure lots more stuff via Bundler Arguments
  • IDE integration will be easier

I’ll also be talking about these at JavaOne in September, in one Technical Session and one Birds of a Feather.

Comments