mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +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 {
|
tasks {
|
||||||
|
|
||||||
|
register<Delete>("cleanup") {
|
||||||
|
delete(rootDir.resolve("build"))
|
||||||
|
}
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000"))
|
options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000"))
|
||||||
options.compilerArgs.add("-Xlint:all")
|
options.compilerArgs.add("-Xlint:all")
|
||||||
@ -193,6 +197,7 @@ allprojects {
|
|||||||
|
|
||||||
named("build") {
|
named("build") {
|
||||||
dependsOn(named("shadowJar"))
|
dependsOn(named("shadowJar"))
|
||||||
|
finalizedBy("cleanup")
|
||||||
}
|
}
|
||||||
test {
|
test {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
|
Loading…
Reference in New Issue
Block a user