Skip to content

Commit b24aead

Browse files
committed
spotless
Signed-off-by: vcwdfca <53033260+vcwdfca@users.noreply.github.com>
1 parent f754872 commit b24aead

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ plugins {
1515
id 'com.modrinth.minotaur' version '2.+' apply false
1616
id 'org.jetbrains.changelog' version '2.5.0'
1717
id 'com.gradleup.shadow' version '9.4.+'
18+
id 'com.diffplug.spotless' version '8.4.0'
1819
}
1920

2021
apply from: 'gradle/scripts/helpers.gradle'

gradle/scripts/extra.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@
33

44
// If you wish to use the default helper methods, uncomment the line below
55
// apply from: 'gradle/scripts/helpers.gradle'
6+
spotless {
7+
java {
8+
// Don't forget to change the path.
9+
target 'src/*/java/com/vcwdfca/bb/**/*.java'
10+
11+
leadingTabsToSpaces()
12+
endWithNewline()
13+
removeUnusedImports()
14+
}
15+
}

0 commit comments

Comments
 (0)