mirror of
https://github.com/vran-dev/databasir.git
synced 2025-08-10 04:11:32 +08:00
feat: add checkstyle (#22)
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user