summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui-quarkus/build.gradle.kts
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-05-18 13:36:14 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-05-18 14:34:54 +0200
commit8ec4bd7584ad67b4aebd2a88a1e33902923a5375 (patch)
treeea220eabeb4912fd640242277aa8441a1238d791 /opendc-web/opendc-web-ui-quarkus/build.gradle.kts
parent689c873ff68b6c8fd66740603dad6efa3bf8ab47 (diff)
refactor(web/ui): Remove module nesting in Quarkus extension
This change updates the OpenDC web UI Quarkus extension to live completely in the `opendc-web` directory, as opposed to adding another level of nesting. This also allows us to properly name the artifacts of the Quarkus extension modules.
Diffstat (limited to 'opendc-web/opendc-web-ui-quarkus/build.gradle.kts')
-rw-r--r--opendc-web/opendc-web-ui-quarkus/build.gradle.kts19
1 files changed, 19 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui-quarkus/build.gradle.kts b/opendc-web/opendc-web-ui-quarkus/build.gradle.kts
index cbec021c..7f2fad20 100644
--- a/opendc-web/opendc-web-ui-quarkus/build.gradle.kts
+++ b/opendc-web/opendc-web-ui-quarkus/build.gradle.kts
@@ -21,3 +21,22 @@
*/
description = "Quarkus extension for serving OpenDC web interface"
+
+plugins {
+ `java-library-conventions`
+ id("io.quarkus.extension")
+}
+
+quarkusExtension {
+ deploymentModule = "opendc-web-ui-quarkus-deployment"
+}
+
+dependencies {
+ implementation(platform(libs.quarkus.bom))
+
+ implementation(libs.quarkus.core.runtime)
+ implementation(libs.quarkus.vertx.http.runtime)
+ implementation(libs.quarkus.arc.runtime)
+}
+
+evaluationDependsOn(projects.opendcWeb.opendcWebUiQuarkusDeployment.dependencyProject.path)