zyxist / chainsaw

Gradle plugin: adds support for building Java 9 modules.
Apache License 2.0
70 stars 4 forks source link

--patch-module flags are wrong #21

Closed Vampire closed 6 years ago

Vampire commented 6 years ago

In the README you have as example

patches('com.google.code.findbugs:jsr305', 'javax.annotation:jsr250-api')

which would result in

--patch-module javax.annotation:jsr250-api=path\to\jsr305.jar

but it should probably be

--patch-module jsr250.api=path\to\jsr305.jar

and thus

patches('com.google.code.findbugs:jsr305', 'jsr250.api')