Skip to content

Commit

Permalink
Update spotless config
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Oct 1, 2023
1 parent 2b6da97 commit b89ce04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ spotless {
java {
licenseHeaderFile(rootProject.file("HEADER.txt"))
target("**/*.java")
endWithNewline()
trimTrailingWhitespace()
removeUnusedImports()
}
}

Expand Down Expand Up @@ -83,7 +86,7 @@ tasks.named("build").configure {
dependsOn("shadowJar")
}

val supportedVersions = listOf("1.16.5", "1.17.1", "1.18.2", "1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.20", "1.20.1")
val supportedVersions = listOf("1.16.5", "1.17.1", "1.18.2", "1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.20", "1.20.1", "1.20.2")

modrinth {
token.set(System.getenv("MODRINTH_TOKEN"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import com.plotsquared.core.plot.Plot;
import com.plotsquared.core.util.task.TaskManager;
import com.plotsquared.core.util.task.TaskTime;
import com.sk89q.worldedit.math.BlockVector2;
import org.bukkit.World;
import org.bukkit.event.Listener;

Expand Down

0 comments on commit b89ce04

Please sign in to comment.