diff options
author | 2021-11-17 03:06:39 +0100 | |
---|---|---|
committer | 2021-11-17 03:06:39 +0100 | |
commit | 720b9e2fb0968905e5a80f6099eab37554a6af58 (patch) | |
tree | b471f4da129efbfa730830a70e0107de852833d7 /gradle/xtext-common.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 'gradle/xtext-common.gradle')
-rw-r--r-- | gradle/xtext-common.gradle | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gradle/xtext-common.gradle b/gradle/xtext-common.gradle deleted file mode 100644 index 09980a90..00000000 --- a/gradle/xtext-common.gradle +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | apply from: "${rootDir}/gradle/java-common.gradle" | ||
2 | |||
3 | sourceSets { | ||
4 | main { | ||
5 | java.srcDirs += ['src/main/xtext-gen'] | ||
6 | resources.srcDirs += ['src/main/xtext-gen'] | ||
7 | } | ||
8 | } | ||
9 | |||
10 | tasks.named('clean') { | ||
11 | delete 'src/main/xtext-gen' | ||
12 | } | ||
13 | |||
14 | sonarqube.properties { | ||
15 | properties['sonar.exclusions'] += [ | ||
16 | 'src/main/xtext-gen/**', | ||
17 | ] | ||
18 | } | ||