aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-05-16 22:52:09 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-05-16 22:52:09 -0600
commit13322113a4070d03226bfad1abd928d381a89da7 (patch)
tree3cee0b2a2b32fb099af7313fe04098c4df2490e4
parenteb8709af1483696f4053bfea12f912201294826f (diff)
downloadServerCraft-13322113a4070d03226bfad1abd928d381a89da7.tar
ServerCraft-13322113a4070d03226bfad1abd928d381a89da7.tar.gz
ServerCraft-13322113a4070d03226bfad1abd928d381a89da7.tar.bz2
append some cleaning stuff
-rw-r--r--app/build.gradle10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 5270585..e915acf 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -103,9 +103,9 @@ task pack(type: io.github.fvarrui.javapackager.gradle.PackageTask, dependsOn: bu
}
}
-tasks.named('test') {
- // Use JUnit Platform for unit tests.
- useJUnitPlatform()
+clean.doFirst {
+ delete "${rootDir}/app/bin"
+ delete "${rootDir}/build"
}
javafx {
@@ -113,3 +113,7 @@ javafx {
modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics']
}
+tasks.named('test') {
+ // Use JUnit Platform for unit tests.
+ useJUnitPlatform()
+}