[CI SKIP] Fixed issues with the build.gradle file

This commit is contained in:
OmerBenGera 2021-03-19 21:23:07 +02:00
parent 297f9f7ba8
commit 2ea46bcb15

View File

@ -102,16 +102,15 @@ shadowJar {
configurations = [project.configurations.getByName("runtimeClasspath")] configurations = [project.configurations.getByName("runtimeClasspath")]
} }
clean {
delete file('./archive/')
}
build { build {
dependsOn shadowJar dependsOn shadowJar
dependsOn publish dependsOn clean
} }
publish.shouldRunAfter shadowJar publish.shouldRunAfter shadowJar
shadowJar.shouldRunAfter build shadowJar.shouldRunAfter build
build.shouldRunAfter subprojects.build
publishing {
repositories {
mavenLocal()
}
}