-
-
Notifications
You must be signed in to change notification settings - Fork 757
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
Gradle plugin - can't run detektCheck with JDK 9 #873
Comments
Hello, thanx for your response, Yes it seems to be the same stacktrace than #566 . I use Ubuntu 16. I will try with detekt 1.0.0.RC6-1 version to test if it works ! |
It works with the version :
I think my main problem now is more a sonar-scanner one : I don't know the version of detekt that is embedded in the sonar-scanner : I still get the error when I run it. It could be helpful if you have any idea about this. If I find something useful, I will update this ticket ! |
OK my misunderstanding was that the sonar-scanner does not "embed" sonar-kotlin but calls the sonarqube server. I updated the sonar-kotlin plugin in my sonar and it now works. Thanks for your time, I close the ticket ! |
Awesome that it worked out for you! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics. |
Hello,
I have a java 9 application that I want to "kotlinize".
When I run
./gradlew detektCheck
with a java 9, I get the following error :
This is my build.gradle :
And if I run the same detektCheck with a JDK 8, it passes successfully.
Maybe I miss some --add-module parameter but I can't find any way to set it.
Any help will be appreciated !
The text was updated successfully, but these errors were encountered: