diff options
author | 2021-11-17 03:06:39 +0100 | |
---|---|---|
committer | 2021-11-17 03:06:39 +0100 | |
commit | 720b9e2fb0968905e5a80f6099eab37554a6af58 (patch) | |
tree | b471f4da129efbfa730830a70e0107de852833d7 /language/build.gradle | |
parent | build: use version catalogs (diff) | |
download | refinery-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/build.gradle')
-rw-r--r-- | language/build.gradle | 14 |
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 @@ | |||
1 | apply plugin: 'java-library' | 1 | plugins { |
2 | apply plugin: 'java-test-fixtures' | 2 | id 'java-library' |
3 | apply from: "${rootDir}/gradle/xtext-common.gradle" | 3 | id 'java-test-fixtures' |
4 | apply from: "${rootDir}/gradle/junit.gradle" | 4 | id 'tools.refinery.xtext-conventions' |
5 | apply from: "${rootDir}/gradle/mwe2.gradle" | 5 | id 'tools.refinery.junit-conventions' |
6 | apply from: "${rootDir}/gradle/xtend.gradle" | 6 | id 'tools.refinery.mwe2-conventions' |
7 | id 'tools.refinery.xtend-conventions' | ||
8 | } | ||
7 | 9 | ||
8 | dependencies { | 10 | dependencies { |
9 | api platform(libs.xtext.bom) | 11 | api platform(libs.xtext.bom) |