checkstyle / sonar-checkstyle

Support on Checkstyle in SonarQube. Officially transfered from https://github.com/SonarQubeCommunity/sonar-checkstyle
GNU Lesser General Public License v3.0
171 stars 70 forks source link

upgrade to checkstyle 10.0 #403

Closed romani closed 2 years ago

romani commented 2 years ago

https://checkstyle.org/releasenotes.html#Release_10.0

muhlba91 commented 2 years ago

SS: https://community.sonarsource.com/t/new-release-sonar-checkstyle-10-0/59436 PR: https://github.com/SonarSource/sonar-update-center-properties/pull/277

BlackEye2k commented 2 years ago

Hi. What exactly means "dropping java 1.8 support".

Is a Java 11 runtime required to run the plugin or can't the plugin analyze Java 8 code anymore?

muhlba91 commented 2 years ago

yes, exactly. the main project dropped support for jdk < 11 (see https://checkstyle.org/releasenotes.html#Release_10.0). hence, the plugin has the same requirements and can only be used for projects using jdk >= 11. (if you have java 8 compatible source files but use jdk 11 to build/run/analyze/... them it will work. important is that jdk >= 11 is used when running the sonar command)