|
|
|
@ -146,7 +146,7 @@ public class ConventionsPlugin implements Plugin<Project> {
|
|
|
|
|
project.getTasks().withType(FormatTask.class, (formatTask) -> formatTask.setEncoding("UTF-8"));
|
|
|
|
|
project.getPlugins().apply(CheckstylePlugin.class);
|
|
|
|
|
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
|
|
|
|
|
checkstyle.setToolVersion("8.22");
|
|
|
|
|
checkstyle.setToolVersion("8.29");
|
|
|
|
|
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle"));
|
|
|
|
|
String version = SpringJavaFormatPlugin.class.getPackage().getImplementationVersion();
|
|
|
|
|
DependencySet checkstyleDependencies = project.getConfigurations().getByName("checkstyle").getDependencies();
|
|
|
|
|