Java Checkstyle plugin just updated to 6.0 version(java 8 support). Looks like gradle using older version. How i can upgrade gradle checkstyle plugin to newer version?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
checkstyle {
toolVersion = "6.0"
}
回答2:
Have you looked into the gradle-estilo-plugin
? It sets up the entire checkstyle configuration you need directly from a gradle config block. You can control the version from there too. Check out the README example for tips.