diff options
-rw-r--r-- | build.gradle | 13 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-jmh.gradle | 2 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-sonarqube.gradle | 8 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-xtend.gradle | 2 | ||||
-rw-r--r-- | buildSrc/src/main/groovy/refinery-xtext-conventions.gradle | 2 | ||||
-rw-r--r-- | gradle.properties | 3 | ||||
-rw-r--r-- | language-model/build.gradle | 1 | ||||
-rw-r--r-- | language/build.gradle | 1 |
8 files changed, 17 insertions, 15 deletions
diff --git a/build.gradle b/build.gradle index 086e899a..329b1cdb 100644 --- a/build.gradle +++ b/build.gradle | |||
@@ -1,20 +1,9 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'eclipse' | 2 | id 'eclipse' |
3 | id 'org.sonarqube' | 3 | id 'refinery-sonarqube' |
4 | } | 4 | } |
5 | 5 | ||
6 | allprojects { | 6 | allprojects { |
7 | group = 'tools.refinery' | 7 | group = 'tools.refinery' |
8 | version = '0.0.0-SNAPSHOT' | 8 | version = '0.0.0-SNAPSHOT' |
9 | |||
10 | sonarqube.properties { | ||
11 | // Make sure `exclusions` is a List in every subproject | ||
12 | property 'sonar.exclusions', [] | ||
13 | } | ||
14 | } | ||
15 | |||
16 | sonarqube.properties { | ||
17 | property 'sonar.projectKey', 'graphs4value_refinery' | ||
18 | property 'sonar.organization', 'graphs4value' | ||
19 | property 'sonar.host.url', 'https://sonarcloud.io' | ||
20 | } | 9 | } |
diff --git a/buildSrc/src/main/groovy/refinery-jmh.gradle b/buildSrc/src/main/groovy/refinery-jmh.gradle index 553c469b..48e0c133 100644 --- a/buildSrc/src/main/groovy/refinery-jmh.gradle +++ b/buildSrc/src/main/groovy/refinery-jmh.gradle | |||
@@ -1,6 +1,6 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'org.sonarqube' | ||
3 | id 'refinery-java-conventions' | 2 | id 'refinery-java-conventions' |
3 | id 'refinery-sonarqube' | ||
4 | } | 4 | } |
5 | 5 | ||
6 | configurations { | 6 | configurations { |
diff --git a/buildSrc/src/main/groovy/refinery-sonarqube.gradle b/buildSrc/src/main/groovy/refinery-sonarqube.gradle new file mode 100644 index 00000000..d84f4ada --- /dev/null +++ b/buildSrc/src/main/groovy/refinery-sonarqube.gradle | |||
@@ -0,0 +1,8 @@ | |||
1 | plugins { | ||
2 | id 'org.sonarqube' | ||
3 | } | ||
4 | |||
5 | sonarqube.properties { | ||
6 | // Make sure `exclusions` is a List in every subproject | ||
7 | property 'sonar.exclusions', [] | ||
8 | } | ||
diff --git a/buildSrc/src/main/groovy/refinery-xtend.gradle b/buildSrc/src/main/groovy/refinery-xtend.gradle index 9281ab1f..9186dbc5 100644 --- a/buildSrc/src/main/groovy/refinery-xtend.gradle +++ b/buildSrc/src/main/groovy/refinery-xtend.gradle | |||
@@ -1,7 +1,7 @@ | |||
1 | plugins { | 1 | plugins { |
2 | id 'org.sonarqube' | ||
3 | id 'org.xtext.xtend' | 2 | id 'org.xtext.xtend' |
4 | id 'refinery-java-conventions' | 3 | id 'refinery-java-conventions' |
4 | id 'refinery-sonarqube' | ||
5 | } | 5 | } |
6 | 6 | ||
7 | sourceSets { | 7 | sourceSets { |
diff --git a/buildSrc/src/main/groovy/refinery-xtext-conventions.gradle b/buildSrc/src/main/groovy/refinery-xtext-conventions.gradle index a91d723e..0c7c82f0 100644 --- a/buildSrc/src/main/groovy/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' | ||
3 | id 'refinery-java-conventions' | 2 | id 'refinery-java-conventions' |
3 | id 'refinery-sonarqube' | ||
4 | } | 4 | } |
5 | 5 | ||
6 | sourceSets { | 6 | sourceSets { |
diff --git a/gradle.properties b/gradle.properties index cacf39a5..713ba6a4 100644 --- a/gradle.properties +++ b/gradle.properties | |||
@@ -1,2 +1,5 @@ | |||
1 | nodeVersion=16.13.0 | 1 | nodeVersion=16.13.0 |
2 | systemProp.sonar.projectKey=graphs4value_refinery | ||
3 | systemProp.sonar.organization=graphs4value | ||
4 | systemProp.sonar.host.url=https://sonarcloud.io | ||
2 | yarnVersion=1.22.17 | 5 | yarnVersion=1.22.17 |
diff --git a/language-model/build.gradle b/language-model/build.gradle index 4c30e62f..2cbddddb 100644 --- a/language-model/build.gradle +++ b/language-model/build.gradle | |||
@@ -2,6 +2,7 @@ plugins { | |||
2 | id 'java-test-fixtures' | 2 | id 'java-test-fixtures' |
3 | id 'refinery-java-library' | 3 | id 'refinery-java-library' |
4 | id 'refinery-mwe2' | 4 | id 'refinery-mwe2' |
5 | id 'refinery-sonarqube' | ||
5 | } | 6 | } |
6 | 7 | ||
7 | dependencies { | 8 | dependencies { |
diff --git a/language/build.gradle b/language/build.gradle index 7f956a47..f7574ecc 100644 --- a/language/build.gradle +++ b/language/build.gradle | |||
@@ -2,6 +2,7 @@ plugins { | |||
2 | id 'java-test-fixtures' | 2 | id 'java-test-fixtures' |
3 | id 'refinery-java-library' | 3 | id 'refinery-java-library' |
4 | id 'refinery-mwe2' | 4 | id 'refinery-mwe2' |
5 | id 'refinery-sonarqube' | ||
5 | id 'refinery-xtend' | 6 | id 'refinery-xtend' |
6 | id 'refinery-xtext-conventions' | 7 | id 'refinery-xtext-conventions' |
7 | } | 8 | } |