Skip to content

Commit

Permalink
misc: remove spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
jumanji144 committed Dec 15, 2023
1 parent 012f635 commit f78afab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 421 deletions.
19 changes: 0 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
plugins {
id "com.diffplug.spotless" version "6.14.0"
}

allprojects {
group 'me.darknet'
version '2.3.0'
}

subprojects {
apply plugin: 'java-library'
apply plugin: 'com.diffplug.spotless'

compileJava.options.encoding = "UTF-8"
compileJava.options.incremental = true
Expand All @@ -32,20 +27,6 @@ subprojects {
withSourcesJar()
}

spotless {
java {
def rootDir = rootProject.projectDir.toPath()

importOrder("me.darknet", "", "\\#", "java|javax")
removeUnusedImports()

eclipse().configFile(rootDir.resolve("formatter.xml").toString())

trimTrailingWhitespace()

}
}

test {
useJUnitPlatform()

Expand Down
Loading

0 comments on commit f78afab

Please sign in to comment.