From 6d56424f36c8eb2bdf2976fa405a8c3f544e1d44 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Sat, 17 Apr 2021 23:44:52 +0000
Subject: [PATCH] Spring boot and React works now
---
borgbutler-webapp/build.gradle | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/borgbutler-webapp/build.gradle b/borgbutler-webapp/build.gradle
index f6485c3..7dbe97f 100644
--- a/borgbutler-webapp/build.gradle
+++ b/borgbutler-webapp/build.gradle
@@ -7,10 +7,11 @@
}
task packageWebApp(type: Zip) {
+ outputs.upToDateWhen { false } // It's never up-to-date (otherwise borgbutler-webapp.jar is missed).
dependsOn npmBuild
- baseName 'borgbutler-webapp'
- extension 'jar'
- destinationDir file("${projectDir}")
+ archiveBaseName.set('borgbutler-webapp')
+ archiveExtension.set('jar')
+ destinationDirectory.set(file("${projectDir}"))
from('build') {
// optional path under which output will be visible in Java classpath, e.g. static resources path
into 'webapp'
@@ -21,7 +22,7 @@
def jarFile = archiveFileName.get()
ant.move file: "${projectDir}/${jarFile}",
toDir: "${buildDir}/libs"
+ println("*** packageWebApp finished.")
}
}
-task(dist).dependsOn packageWebApp
--
Gitblit v1.10.0