Skip to content

This repository contains example how to compile build and run java 9 modules using Jigsaw and Gradle

License

Notifications You must be signed in to change notification settings

daggerok/java-9-jigsaw-gradle

Repository files navigation

Java 9 (Gradle Jigsaw) Build Status

This repository contains example how to compile build and run java 9 modules using Jigsaw and Gradle.

dependency tree
+------+    +--------+
| main |--->| config |
+------+    +--------+
  |           |    |
  |   +-------+    |
  |   |            |
  v   v            v
+-------+   +--------+
|  api  |<--|  impl  |
+-------+   +--------+
  1. main requires: config, api

  2. config:

    1. requires: api, impl

    2. exports to: main

  3. impl:

    1. requires: api

    2. exports to: config

  4. api exports to: impl, config, main

build and run
bash gradlew clean build; java -jar modules/main/build/libs/*.jar

About

This repository contains example how to compile build and run java 9 modules using Jigsaw and Gradle

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages