You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id "com.diffplug.spotless" version "6.25.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
group = 'de.srsoftware'
|
|
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
jar.enabled = false
|
|
|
|
build.enabled = false
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation platform('org.junit:junit-bom:5.10.0')
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
spotless {
|
|
|
|
java {
|
|
|
|
target '*/src/*/java/**/*.java'
|
|
|
|
removeUnusedImports()
|
|
|
|
importOrder()
|
|
|
|
clangFormat('18.1.8').style('file:config/clang-format')
|
|
|
|
licenseHeader '/* © SRSoftware $YEAR */' // or licenseHeaderFile
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileJava.dependsOn 'spotlessApply'
|