aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/language-web/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/language-web/build.gradle.kts')
-rw-r--r--subprojects/language-web/build.gradle.kts6
1 files changed, 3 insertions, 3 deletions
diff --git a/subprojects/language-web/build.gradle.kts b/subprojects/language-web/build.gradle.kts
index c3a0b7e9..02e4ff17 100644
--- a/subprojects/language-web/build.gradle.kts
+++ b/subprojects/language-web/build.gradle.kts
@@ -1,5 +1,5 @@
1/* 1/*
2 * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/> 2 * SPDX-FileCopyrightText: 2021-2024 The Refinery Authors <https://refinery.tools/>
3 * 3 *
4 * SPDX-License-Identifier: EPL-2.0 4 * SPDX-License-Identifier: EPL-2.0
5 */ 5 */
@@ -55,7 +55,7 @@ tasks {
55 } 55 }
56 } 56 }
57 57
58 register<JavaExec>("serveBackend") { 58 register<JavaExec>("serve") {
59 dependsOn(webapp) 59 dependsOn(webapp)
60 val mainRuntimeClasspath = sourceSets.main.map { it.runtimeClasspath } 60 val mainRuntimeClasspath = sourceSets.main.map { it.runtimeClasspath }
61 dependsOn(mainRuntimeClasspath) 61 dependsOn(mainRuntimeClasspath)
@@ -67,7 +67,7 @@ tasks {
67 description = "Start a Jetty web server serving the Xtext API and assets." 67 description = "Start a Jetty web server serving the Xtext API and assets."
68 } 68 }
69 69
70 register<JavaExec>("serveBackendOnly") { 70 register<JavaExec>("serveBackend") {
71 val mainRuntimeClasspath = sourceSets.main.map { it.runtimeClasspath } 71 val mainRuntimeClasspath = sourceSets.main.map { it.runtimeClasspath }
72 dependsOn(mainRuntimeClasspath) 72 dependsOn(mainRuntimeClasspath)
73 classpath(mainRuntimeClasspath) 73 classpath(mainRuntimeClasspath)