mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-02-04 14:41:23 +01:00
Enable spotless
This commit is contained in:
parent
b797887e7e
commit
1be8874f5a
24
build.gradle
24
build.gradle
@ -4,7 +4,7 @@ plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.hierynomus.license' version '0.16.1'
|
||||
id 'com.palantir.git-version' version '0.12.3'
|
||||
// id 'com.diffplug.spotless' version '5.14.2'
|
||||
id 'com.diffplug.spotless' version '5.14.2'
|
||||
}
|
||||
|
||||
allprojects {
|
||||
@ -65,14 +65,14 @@ subprojects {
|
||||
}
|
||||
|
||||
|
||||
//spotless {
|
||||
// java {
|
||||
// indentWithSpaces()
|
||||
// trimTrailingWhitespace()
|
||||
//
|
||||
// target fileTree(project.rootDir) {
|
||||
// include '**/*.java'
|
||||
// exclude '**/build/**'
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
spotless {
|
||||
java {
|
||||
indentWithSpaces()
|
||||
trimTrailingWhitespace()
|
||||
|
||||
target fileTree(project.rootDir) {
|
||||
include '**/*.java'
|
||||
exclude '**/build/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user