mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
fix: Don't publish root directory (Fixes #3647)
This commit is contained in:
parent
b9479405e1
commit
f27bf9a153
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user