gradle checkstyle 추가

This commit is contained in:
Rinjae
2025-12-05 14:26:01 +09:00
parent b761468758
commit 01db76de15
2 changed files with 30 additions and 0 deletions
+13
View File
@@ -6,6 +6,7 @@ plugins {
id 'war'
id 'com.diffplug.eclipse.apt' version '3.41.1'
id 'project-report'
id 'checkstyle'
}
group 'com.eactive'
@@ -35,6 +36,10 @@ java {
languageVersion = JavaLanguageVersion.of(8)
}
}
checkstyle {
toolVersion = '8.45.1'
}
compileJava {
options.encoding = 'UTF-8'
@@ -255,4 +260,12 @@ eclipse {
buildCommand 'org.eclipse.buildship.core.gradleprojectbuilder'
}
}
}
tasks.withType(Checkstyle) {
reports {
xml.required = false
html.required = true
}
}