Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/java-9-jigsaw-gradle

This repository contains example how to compile build and run java 9 modules using Jigsaw and Gradle
https://github.com/daggerok/java-9-jigsaw-gradle

gradle java-9 java9 java9-jigsaw jigsaw

Last synced: 28 days ago
JSON representation

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

Awesome Lists containing this project

README

        

= Java 9 (Gradle Jigsaw) image:https://travis-ci.org/daggerok/java-9-jigsaw-gradle.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/java-9-jigsaw-gradle"]

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 |
+-------+ +--------+
----

. main requires: config, api
. config:
.. requires: api, impl
.. exports to: main
. impl:
.. requires: api
.. exports to: config
. api exports to: impl, config, main

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