diff options
author | 2021-11-17 03:56:45 +0100 | |
---|---|---|
committer | 2021-11-17 03:56:45 +0100 | |
commit | 2457f042578634478965212067df82bef2cb8eb4 (patch) | |
tree | cd5e45280f0792333f782109325d04739c86bcb3 /buildSrc/src/main/groovy | |
parent | build: merge java and junit conventions (diff) | |
download | refinery-2457f042578634478965212067df82bef2cb8eb4.tar.gz refinery-2457f042578634478965212067df82bef2cb8eb4.tar.zst refinery-2457f042578634478965212067df82bef2cb8eb4.zip |
build: library and application convetion plugins
Diffstat (limited to 'buildSrc/src/main/groovy')
-rw-r--r-- | buildSrc/src/main/groovy/refinery-java-application.gradle | 11 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-java-conventions.gradle (renamed from buildSrc/src/main/groovy/tools.refinery.java-conventions.gradle) | 1 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-java-library.gradle | 4 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-jmh.gradle (renamed from buildSrc/src/main/groovy/tools.refinery.jmh-conventions.gradle) | 2 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-mwe2.gradle (renamed from buildSrc/src/main/groovy/tools.refinery.mwe2-conventions.gradle) | 2 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-xtend.gradle (renamed from buildSrc/src/main/groovy/tools.refinery.xtend-conventions.gradle) | 2 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-xtext-conventions.gradle (renamed from buildSrc/src/main/groovy/tools.refinery.xtext-conventions.gradle) | 2 |
7 files changed, 20 insertions, 4 deletions
diff --git a/buildSrc/src/main/groovy/refinery-java-application.gradle b/buildSrc/src/main/groovy/refinery-java-application.gradle new file mode 100644 index 00000000..1566f3c0 --- /dev/null +++ b/buildSrc/src/main/groovy/refinery-java-application.gradle | |||
@@ -0,0 +1,11 @@ | |||
1 | plugins { | ||
2 | id 'application' | ||
3 | id 'com.github.johnrengelman.shadow' | ||
4 | id 'refinery-java-conventions' | ||
5 | } | ||
6 | |||
7 | distTar.enabled = false | ||
8 | distZip.enabled = false | ||
9 | |||
10 | shadowDistTar.enabled = false | ||
11 | shadowDistZip.enabled = false | ||
diff --git a/buildSrc/src/main/groovy/tools.refinery.java-conventions.gradle b/buildSrc/src/main/groovy/refinery-java-conventions.gradle index 2712d391..fcdc8ea9 100644 --- a/buildSrc/src/main/groovy/tools.refinery.java-conventions.gradle +++ b/buildSrc/src/main/groovy/refinery-java-conventions.gradle | |||
@@ -1,6 +1,7 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'eclipse' | 2 | id 'eclipse' |
3 | id 'jacoco' | 3 | id 'jacoco' |
4 | id 'java' | ||
4 | } | 5 | } |
5 | 6 | ||
6 | repositories { | 7 | repositories { |
diff --git a/buildSrc/src/main/groovy/refinery-java-library.gradle b/buildSrc/src/main/groovy/refinery-java-library.gradle new file mode 100644 index 00000000..daa80f17 --- /dev/null +++ b/buildSrc/src/main/groovy/refinery-java-library.gradle | |||
@@ -0,0 +1,4 @@ | |||
1 | plugins { | ||
2 | id 'java-library' | ||
3 | id 'refinery-java-conventions' | ||
4 | } | ||
diff --git a/buildSrc/src/main/groovy/tools.refinery.jmh-conventions.gradle b/buildSrc/src/main/groovy/refinery-jmh.gradle index 0a82ae4b..553c469b 100644 --- a/buildSrc/src/main/groovy/tools.refinery.jmh-conventions.gradle +++ b/buildSrc/src/main/groovy/refinery-jmh.gradle | |||
@@ -1,6 +1,6 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'org.sonarqube' | 2 | id 'org.sonarqube' |
3 | id 'tools.refinery.java-conventions' | 3 | id 'refinery-java-conventions' |
4 | } | 4 | } |
5 | 5 | ||
6 | configurations { | 6 | configurations { |
diff --git a/buildSrc/src/main/groovy/tools.refinery.mwe2-conventions.gradle b/buildSrc/src/main/groovy/refinery-mwe2.gradle index fe213d42..c7f15e82 100644 --- a/buildSrc/src/main/groovy/tools.refinery.mwe2-conventions.gradle +++ b/buildSrc/src/main/groovy/refinery-mwe2.gradle | |||
@@ -1,6 +1,6 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'eclipse' | 2 | id 'eclipse' |
3 | id 'tools.refinery.java-conventions' | 3 | id 'refinery-java-conventions' |
4 | } | 4 | } |
5 | 5 | ||
6 | configurations { | 6 | configurations { |
diff --git a/buildSrc/src/main/groovy/tools.refinery.xtend-conventions.gradle b/buildSrc/src/main/groovy/refinery-xtend.gradle index 98fc131c..9281ab1f 100644 --- a/buildSrc/src/main/groovy/tools.refinery.xtend-conventions.gradle +++ b/buildSrc/src/main/groovy/refinery-xtend.gradle | |||
@@ -1,7 +1,7 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'org.sonarqube' | 2 | id 'org.sonarqube' |
3 | id 'org.xtext.xtend' | 3 | id 'org.xtext.xtend' |
4 | id 'tools.refinery.java-conventions' | 4 | id 'refinery-java-conventions' |
5 | } | 5 | } |
6 | 6 | ||
7 | sourceSets { | 7 | sourceSets { |
diff --git a/buildSrc/src/main/groovy/tools.refinery.xtext-conventions.gradle b/buildSrc/src/main/groovy/refinery-xtext-conventions.gradle index 3fd2f9d6..a91d723e 100644 --- a/buildSrc/src/main/groovy/tools.refinery.xtext-conventions.gradle +++ b/buildSrc/src/main/groovy/refinery-xtext-conventions.gradle | |||
@@ -1,6 +1,6 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'org.sonarqube' | 2 | id 'org.sonarqube' |
3 | id 'tools.refinery.java-conventions' | 3 | id 'refinery-java-conventions' |
4 | } | 4 | } |
5 | 5 | ||
6 | sourceSets { | 6 | sourceSets { |