aboutsummaryrefslogtreecommitdiff
path: root/server/frontend/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'server/frontend/build.gradle.kts')
-rw-r--r--server/frontend/build.gradle.kts16
1 files changed, 16 insertions, 0 deletions
diff --git a/server/frontend/build.gradle.kts b/server/frontend/build.gradle.kts
new file mode 100644
index 0000000..71b5c27
--- /dev/null
+++ b/server/frontend/build.gradle.kts
@@ -0,0 +1,16 @@
+import com.github.gradle.node.pnpm.task.PnpmTask
+
+plugins {
+ id("com.github.node-gradle.node") version "7.1.0"
+ `java-library`
+}
+
+val webDist by tasks.register("webDist", PnpmTask::class) {
+ args.addAll("build")
+ outputs.dir("dist")
+}
+tasks.jar {
+ from(webDist) {
+ into("ledger-web-dist/")
+ }
+}