fix: Don't publish root directory (Fixes #3647)

This commit is contained in:
Alexander Brandes 2022-06-12 18:28:13 +02:00
parent b9479405e1
commit f27bf9a153
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -176,6 +176,10 @@ allprojects {
tasks {
register<Delete>("cleanup") {
delete(rootDir.resolve("build"))
}
compileJava {
options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000"))
options.compilerArgs.add("-Xlint:all")
@ -193,6 +197,7 @@ allprojects {
named("build") {
dependsOn(named("shadowJar"))
finalizedBy("cleanup")
}
test {
useJUnitPlatform()