aboutsummaryrefslogtreecommitdiffstats
path: root/language-web
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-17 03:56:45 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-17 03:56:45 +0100
commit2457f042578634478965212067df82bef2cb8eb4 (patch)
treecd5e45280f0792333f782109325d04739c86bcb3 /language-web
parentbuild: merge java and junit conventions (diff)
downloadrefinery-2457f042578634478965212067df82bef2cb8eb4.tar.gz
refinery-2457f042578634478965212067df82bef2cb8eb4.tar.zst
refinery-2457f042578634478965212067df82bef2cb8eb4.zip
build: library and application convetion plugins
Diffstat (limited to 'language-web')
-rw-r--r--language-web/build.gradle15
1 files changed, 4 insertions, 11 deletions
diff --git a/language-web/build.gradle b/language-web/build.gradle
index 9f092e5e..7306869b 100644
--- a/language-web/build.gradle
+++ b/language-web/build.gradle
@@ -1,9 +1,7 @@
1plugins { 1plugins {
2 id 'java'
3 id 'application'
4 alias libs.plugins.frontend 2 alias libs.plugins.frontend
5 alias libs.plugins.shadow 3 id 'refinery-java-application'
6 id 'tools.refinery.xtext-conventions' 4 id 'refinery-xtext-conventions'
7} 5}
8 6
9import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmYarn 7import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmYarn
@@ -99,6 +97,8 @@ tasks.named('check') {
99 dependsOn(eslint, stylelint) 97 dependsOn(eslint, stylelint)
100} 98}
101 99
100mainClassName = serverMainClass
101
102tasks.named('jar') { 102tasks.named('jar') {
103 dependsOn assembleFrontend 103 dependsOn assembleFrontend
104 from(productionResources) { 104 from(productionResources) {
@@ -106,13 +106,6 @@ tasks.named('jar') {
106 } 106 }
107} 107}
108 108
109mainClassName = serverMainClass
110distTar.enabled = false
111distZip.enabled = false
112
113shadowDistTar.enabled = false
114shadowDistZip.enabled = false
115
116tasks.named('shadowJar') { 109tasks.named('shadowJar') {
117 dependsOn assembleFrontend 110 dependsOn assembleFrontend
118 from(project.convention.getPlugin(JavaPluginConvention).sourceSets.main.output) 111 from(project.convention.getPlugin(JavaPluginConvention).sourceSets.main.output)