Files
LightOidc/build.gradle.kts
StephanRichter e8ed7b9ca3
Build Docker Image / Clean-Registry (push) Failing after 1m4s
Build Docker Image / Docker-Build (push) Successful in 11s
added preferred_username to userinfo endpoint
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
2026-11-25 23:46:17 +01:00

49 lines
916 B
Kotlin

plugins {
id("com.diffplug.spotless") version "latest.release"
}
repositories {
mavenCentral()
}
spotless {
java {
target("**/src/**/java/**/*.java")
removeUnusedImports()
importOrder()
licenseHeader("/* © SRSoftware 2026 */")
}
}
subprojects {
group = "de.srsoftware"
version = "1.0.1"
apply(plugin = "java")
apply(plugin = "maven-publish")
apply(plugin = "com.diffplug.spotless")
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")
}
tasks.withType<Test>() {
useJUnitPlatform()
}
}