Skip to content

Commit

Permalink
Use Google Java format
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed Jul 8, 2024
1 parent db832ca commit 310202b
Show file tree
Hide file tree
Showing 6 changed files with 300 additions and 267 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* text=auto
*.sh text eol=lf
* text eol=lf
*.png binary
*.bat text eol=crlf
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'application'
id 'distribution'
id 'com.github.jk1.dependency-license-report' version '2.0'
id "com.diffplug.spotless" version "6.25.0"
}

group 'org.jlab'
Expand Down Expand Up @@ -82,4 +83,10 @@ startScripts {
windowsScriptFile.text = windowsScriptFile.text.replace('%APP_HOME%\\lib\\config', '%APP_HOME%\\config')
unixScriptFile.text = unixScriptFile.text.replace('$APP_HOME/lib/config', '$APP_HOME/config')
}
}

spotless {
java {
googleJavaFormat()
}
}
Loading

0 comments on commit 310202b

Please sign in to comment.