aboutsummaryrefslogtreecommitdiffstats
path: root/language
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-17 03:06:39 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-17 03:06:39 +0100
commit720b9e2fb0968905e5a80f6099eab37554a6af58 (patch)
treeb471f4da129efbfa730830a70e0107de852833d7 /language
parentbuild: use version catalogs (diff)
downloadrefinery-720b9e2fb0968905e5a80f6099eab37554a6af58.tar.gz
refinery-720b9e2fb0968905e5a80f6099eab37554a6af58.tar.zst
refinery-720b9e2fb0968905e5a80f6099eab37554a6af58.zip
build: move scripts into script plugins
Script plugins allow applying other plugins from plugins { } blocks, which simplifies the build script.
Diffstat (limited to 'language')
-rw-r--r--language/build.gradle14
1 files changed, 8 insertions, 6 deletions
diff --git a/language/build.gradle b/language/build.gradle
index df71a85d..5eb5484d 100644
--- a/language/build.gradle
+++ b/language/build.gradle
@@ -1,9 +1,11 @@
1apply plugin: 'java-library' 1plugins {
2apply plugin: 'java-test-fixtures' 2 id 'java-library'
3apply from: "${rootDir}/gradle/xtext-common.gradle" 3 id 'java-test-fixtures'
4apply from: "${rootDir}/gradle/junit.gradle" 4 id 'tools.refinery.xtext-conventions'
5apply from: "${rootDir}/gradle/mwe2.gradle" 5 id 'tools.refinery.junit-conventions'
6apply from: "${rootDir}/gradle/xtend.gradle" 6 id 'tools.refinery.mwe2-conventions'
7 id 'tools.refinery.xtend-conventions'
8}
7 9
8dependencies { 10dependencies {
9 api platform(libs.xtext.bom) 11 api platform(libs.xtext.bom)