first commit

This commit is contained in:
2025-06-27 21:43:54 +02:00
commit 6ef4576cb2
33 changed files with 2185 additions and 0 deletions

50
build.gradle.kts Normal file
View File

@@ -0,0 +1,50 @@
plugins {
id("com.diffplug.spotless") version "latest.release"
}
repositories {
mavenCentral()
}
spotless {
java {
target("**/src/**/java/**/*.java")
removeUnusedImports()
importOrder()
licenseHeader("/* © SRSoftware 2025 */")
}
}
afterEvaluate {
tasks.named("build") {
dependsOn("spotlessApply")
}
}
subprojects {
group = "de.srsoftware"
apply(plugin = "java-library")
repositories {
mavenLocal()
mavenCentral()
}
val implementation by configurations
val compileOnly by configurations
val testImplementation by configurations
val testRuntimeOnly by configurations
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation("de.srsoftware:tools.logging:1.3.2")
}
tasks.withType<Test>() {
useJUnitPlatform()
}
}