Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxist committed Mar 8, 2018
1 parent f884abb commit 0e3b7de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ introduced by Java 9.
Gradle doesn't currently support building Java 9 modules in a first-class way, except for a extremely limited
`experimental-jigsaw` plugin. I decided to fork the plugin and extend it with a couple of necessary features.

The full documentation and some tips, how to solve common problems with Jigsaw, can be found on wiki.

## Basic usage

If you already have a working Java project, applying the plugin is just one step:
Expand All @@ -20,7 +22,7 @@ plugins {
}
```

Starting from version 0.2.1, the plugin automatically detects the module name from the sources.
Starting from version 0.3.0, the plugin automatically detects the module name from the sources.
In earlier versions, the module name had to be set manually in `build.gradle`:

```groovy
Expand Down Expand Up @@ -79,7 +81,9 @@ because of a package split. We can patch `jsr250.api` module to include all the


```groovy
javaModule.patchModules 'com.google.code.findbugs:jsr305': 'javax.annotation:jsr250-api'
javaModule.hacks {
patches('com.google.code.findbugs:jsr305', 'javax.annotation:jsr250-api')
}
dependencies {
patch 'com.google.code.findbugs:jsr305:1.3.9'
Expand Down

0 comments on commit 0e3b7de

Please sign in to comment.