Skip to content

Slides and links about Java Module System development with Gradle

License

Notifications You must be signed in to change notification settings

jjohannes/java-module-system

Repository files navigation

Java Module System (with Gradle)

This is a minimalistic project that shows a structured Java project setup utilising the Java Module System (JPMS) to define a modular software structure with Gradle as the underlying build system. To integrate these, the GradleX Java development plugins are used.

With this setup, modularization and other build configuration concerns are separated. With that accidental complexity in the module setup is avoided.

Learn more

Build the example

  • Run ./gradlew check to run tests and check integrity of the module setup
  • To build a self-contained installable of the application, run:
    • Run ./gradlew assembleWindows-2022
    • Run ./gradlew assembleMacos-13
    • Run ./gradlew assembleMacos-14
    • Run ./gradlew assembleUbuntu-22.04

The example also builds on GitHub. The result can be explored here: https://github.com/jjohannes/java-module-system/actions

About

Slides and links about Java Module System development with Gradle

Resources

License

Stars

Watchers

Forks

Languages