|
|
|
@ -50,7 +50,7 @@ public class CheckstyleConventions {
@@ -50,7 +50,7 @@ public class CheckstyleConventions {
|
|
|
|
|
project.getPlugins().apply(CheckstylePlugin.class); |
|
|
|
|
project.getTasks().withType(Checkstyle.class).forEach(checkstyle -> checkstyle.getMaxHeapSize().set("1g")); |
|
|
|
|
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class); |
|
|
|
|
checkstyle.setToolVersion("10.12.0"); |
|
|
|
|
checkstyle.setToolVersion("10.12.1"); |
|
|
|
|
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle")); |
|
|
|
|
String version = SpringJavaFormatPlugin.class.getPackage().getImplementationVersion(); |
|
|
|
|
DependencySet checkstyleDependencies = project.getConfigurations().getByName("checkstyle").getDependencies(); |
|
|
|
|