Re-added jank file deleting again for now

This commit is contained in:
coolGi
2024-02-18 21:38:20 +10:30
parent 4d73c3ecb8
commit 4e6255dc2b
+10
View File
@@ -51,6 +51,16 @@ afterEvaluate {
runClient {
dependsOn(tasks.named('copyAllResources'))
}
// TODO this isn't a great place for these, but `tasks.build.doLast` doesn't always work and I'm not sure of a better place right now
tasks.runClient.doFirst {
// TODO can we just ignore these folders instead?
// deleting them may cause issues if the OS locks the files
// and it feels hacky
delete file("../common/build/libs")
delete file("../coreSubProjects/core/build/libs")
delete file("../coreSubProjects/api/build/libs")
}
}
remapJar {