-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--reporter/--ruleset Java 9+ compatibility #259
Comments
I've confirmed that my ktlint is up to date and running it without the jar against the class in question does work. |
You must be running Java 9+. |
Thanks for the quick response. You're right, it looks like I am on Java 9. I'll see if I have time to look into fixing this. |
I checked out the repo and ran
./gradlew build
inktlint-ruleset-template
to generate the jars. I then tried running ktlint with all of those jars against a kotlin class and receivedI can't see anything wrong with the jar structure or the paths I am using, but I'm guessing I have done something wrong.
The command I used was:
ktlint -R build/libs/ktlint-ruleset-template.jar src/main/kotlin/yourpkgname/NoVarRule.kt
I also tried using the sources jar.
The text was updated successfully, but these errors were encountered: