Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Java Components: Solving the Puzzle With Jigsaw and Gradle

DZone's Guide to

Java Components: Solving the Puzzle With Jigsaw and Gradle

Learn how you can model your Java modules with Gradle.

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

Any large Java project will suffer without a sensible approach to modularization. Java 9 will introduce Jigsaw, a simple model that supports a separation of API and implementation for Java components.

As a member of the Jigsaw JSR, Gradle Inc. is building a Gradle model to provide a highly Jigsaw-compatible component model that is already available to users of Java 7 and 8 and will be available to Java 9 users when it is released.

In this talk, you will learn how you can model your Java modules with Gradle; enforce modularization for Java 8 and below; and build variants of your modules for Java 6, 7, 8, and 9. Gradle will make it very easy for you to work against multiple JDK versions. We will also demonstrate the significant build time performance improvements you will get by the latest Gradle.


CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.

Topics:
jigsaw ,java ,java 9 ,gradle

Published at DZone with permission of Miko Matsumura. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}