Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By-pass failing
removeUnusedImports
step at Java 9 builds
See diffplug/spotless#83 for details.
- Loading branch information
6dc0369
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this working?
If so, are you going to commit this to
master
?6dc0369
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two times no. That try 6610883 was almost successful, but then I hit the same wall as @marcphilipp and others did: gradle/gradle#1549 gradle/gradle#1461 gradle/gradle#1095
6dc0369
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the Jigsaw module issue is unrelated.
I was only asking if you got it working -- in the sense of not removing unused imports on JDK 9. 😉
In other words, if the Jigsaw issues get sorted out with an upcoming release of Gradle, we will still need your proposed workaround until Google's Java formatter works on JDK 9.
Right?
6dc0369
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. Will commit the Java 9 guard to
master
.6dc0369
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍