Skip to content

Commit

Permalink
style: add spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomo committed Sep 23, 2023
1 parent 4f00d49 commit 8ff4420
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
id 'org.springframework.boot' version '2.7.15'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
// id 'com.diffplug.spotless' version '6.11.0'
id 'com.diffplug.spotless' version '6.11.0'
id "org.sonarqube" version "4.3.1.3277"
}

Expand Down Expand Up @@ -59,17 +59,17 @@ tasks.named('test') {
finalizedBy jacocoTestReport
}

//spotless {
// java {
// target("**/*.java")
// removeUnusedImports()
// trimTrailingWhitespace()
// endWithNewline()
// importOrder()
// indentWithTabs()
// googleJavaFormat().aosp()
// }
//}
spotless {
java {
target("**/*.java")
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
importOrder()
indentWithTabs()
googleJavaFormat().aosp()
}
}

apply plugin: 'org.sonarqube'
apply plugin: 'jacoco'
Expand Down

0 comments on commit 8ff4420

Please sign in to comment.