aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
+}