spotless (#34)

* Do not hardcode tag names and remove not needed README comment

* Remove useless dependencies

* Deduplicate build code

* Run spotless to keep codebase clean
This commit is contained in:
Alex
2024-10-27 21:04:47 +01:00
committed by GitHub
parent e05f38fcc2
commit 83148d8040
32 changed files with 169 additions and 692 deletions
+2 -38
View File
@@ -15,42 +15,6 @@ repositories {
dependencies {
implementation("xyz.wagyourtail.unimined:xyz.wagyourtail.unimined.gradle.plugin:1.2.15-SNAPSHOT")
// guava
implementation("com.google.guava:guava:31.1-jre")
// gson
implementation("com.google.code.gson:gson:2.9.0")
// asm
implementation("org.ow2.asm:asm:9.5")
implementation("org.ow2.asm:asm-commons:9.5")
implementation("org.ow2.asm:asm-tree:9.5")
implementation("org.ow2.asm:asm-analysis:9.5")
implementation("org.ow2.asm:asm-util:9.5")
// remapper
implementation("net.fabricmc:tiny-remapper:0.8.7") {
exclude(group = "org.ow2.asm")
}
// mappings
implementation("net.fabricmc:mapping-io:0.3.0") {
exclude(group = "org.ow2.asm")
}
// jetbrains annotations
implementation("org.jetbrains:annotations-java5:23.0.0")
// binpatcher
implementation("net.minecraftforge:binarypatcher:1.1.1") {
exclude(mapOf("group" to "commons-io"))
}
implementation("commons-io:commons-io:2.12.0")
// pack200 provided by apache commons-compress
implementation("org.apache.commons:commons-compress:1.26.1")
// aw
implementation("net.fabricmc:access-widener:2.1.0")
implementation("io.freefair.gradle:lombok-plugin:8.10.2")
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.25.0")
}