mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-08-04 05:25:28 +02:00
fix: Don't publish root directory (Fixes #3647)
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user