summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui-quarkus-deployment/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-deployment/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-deployment/build.gradle.kts')
-rw-r--r--opendc-web/opendc-web-ui-quarkus-deployment/build.gradle.kts39
1 files changed, 39 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui-quarkus-deployment/build.gradle.kts b/opendc-web/opendc-web-ui-quarkus-deployment/build.gradle.kts
new file mode 100644
index 00000000..5a42aaea
--- /dev/null
+++ b/opendc-web/opendc-web-ui-quarkus-deployment/build.gradle.kts
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2022 AtLarge Research
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+description = "Quarkus extension for serving OpenDC web interface"
+
+/* Build configuration */
+plugins {
+ `java-library-conventions`
+}
+
+dependencies {
+ implementation(platform(libs.quarkus.bom))
+
+ implementation(projects.opendcWeb.opendcWebUi)
+ implementation(projects.opendcWeb.opendcWebUiQuarkus)
+
+ implementation(libs.quarkus.core.deployment)
+ implementation(libs.quarkus.vertx.http.deployment)
+ implementation(libs.quarkus.arc.deployment)
+}