Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated customerA build.gradle

Rich Turner8530c144249c
diff --git a/ui/app/customerA/build.gradle b/ui/app/customerA/build.gradle
index c8911bb8c..a84f9bad4 100644
--- a/ui/app/customerA/build.gradle
+++ b/ui/app/customerA/build.gradle
@@ -1,3 +1,17 @@
-task installDist {
+task build {
dependsOn yarnInstall
+}
+
+task installDist(type: Copy) {
+ dependsOn build
+ from(buildDir) {
+ exclude "gwt", "build.gradle", "package.json", "yarn.lock", ".bowerrc"
+ }
+ into "${resolveProject(':deployment').projectDir}/manager/app/${projectDir.name}"
+}
+
+task clean() {
+ doLast {
+ delete "${resolveProject(':deployment').projectDir}/manager/app/${projectDir.name}"
+ }
}
\ No newline at end of file