Delete the jar directories in the gradle clean task.
This commit is contained in:
parent
c063b9a5b2
commit
f8892fe01b
@ -145,6 +145,10 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
listOf(
|
||||||
|
file("remappedJars"),
|
||||||
|
file("shrinkedJars")
|
||||||
|
).forEach { if (it.exists()) clean.get().delete.add(it) }
|
||||||
val publishToModrinth = register<com.modrinth.minotaur.TaskModrinthUpload>("publishtoModrinth") {
|
val publishToModrinth = register<com.modrinth.minotaur.TaskModrinthUpload>("publishtoModrinth") {
|
||||||
val envStr: String? = System.getenv("MODRINTH")
|
val envStr: String? = System.getenv("MODRINTH")
|
||||||
onlyIf { envStr != null }
|
onlyIf { envStr != null }
|
||||||
|
Loading…
Reference in New Issue
Block a user