format using eclipse

This commit is contained in:
sebseb7
2023-06-29 14:26:56 +02:00
parent 96f265ee42
commit f8d8bd2657
10 changed files with 390 additions and 451 deletions

View File

@@ -1,5 +1,6 @@
plugins {
id 'fabric-loom' version '1.2-SNAPSHOT'
id 'com.diffplug.spotless' version '6.19.0'
}
sourceCompatibility = JavaVersion.VERSION_17
@@ -38,3 +39,13 @@ tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 17
}
spotless {
java {
importOrder()
removeUnusedImports()
cleanthat()
eclipse()
formatAnnotations()
}
}