Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/daggerok/java-9-jigsaw-gradle
- Owner: daggerok
- License: mit
- Created: 2017-11-09T00:29:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T22:29:11.000Z (about 6 years ago)
- Last Synced: 2024-11-11T15:39:13.371Z (3 months ago)
- Topics: gradle, java-9, java9, java9-jigsaw, jigsaw
- Language: Java
- Size: 61.5 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
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
----