feat: add checkstyle (#22)

This commit is contained in:
vran
2022-02-21 21:55:56 +08:00
committed by GitHub
parent dde3c09e3e
commit cfedddeb9e
47 changed files with 522 additions and 159 deletions

View File

@@ -19,6 +19,7 @@ subprojects {
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.springframework.boot'
apply plugin: 'nu.studer.jooq'
apply plugin: 'checkstyle'
group 'com.databasir'
version '1.0.0'
@@ -51,6 +52,16 @@ subprojects {
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
checkstyle {
toolVersion = '8.42'
ignoreFailures = false
maxWarnings = 0
}
}