Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Delete run directory with clean task
Browse files Browse the repository at this point in the history
  • Loading branch information
BelgianDev committed Nov 15, 2023
1 parent 5d2ab98 commit 27481e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ jar {
enabled = false
}

clean {
def runDir = file("run")

if (runDir.isDirectory()) {
runDir.deleteDir();
}
}


tasks.register("prepareRun") {
group "run"
Expand Down

0 comments on commit 27481e3

Please sign in to comment.