This commit is contained in:
Fiereu committed 2025-08-22 16:11:41 +02:00
commit c5ee4e27e6
131 files changed
+9926

No files matched your search

@@ -0,0 +1,31 @@
package buildsrc.convention
import com.diffplug.spotless.LineEnding
plugins {
id("com.diffplug.spotless")
}
spotless {
encoding("UTF-8")
lineEndings = LineEnding.UNIX
kotlinGradle {
target("**/*.gradle.kts")
ktfmt()
trimTrailingWhitespace()
endWithNewline()
}
kotlin {
target("**/src/**/*.kt")
ktfmt()
trimTrailingWhitespace()
endWithNewline()
}
format("misc") {
target("**/*.md", "**/*.yml", "**/*.yaml", "**/*.properties")
trimTrailingWhitespace()
endWithNewline()
}
}
tasks.withType<Test> { dependsOn("spotlessCheck") }