diff options
Diffstat (limited to 'language-web/build.gradle')
-rw-r--r-- | language-web/build.gradle | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/language-web/build.gradle b/language-web/build.gradle index 6910fea0..c5e27dc6 100644 --- a/language-web/build.gradle +++ b/language-web/build.gradle | |||
@@ -108,6 +108,20 @@ task eslint(type: NpmTask) { | |||
108 | 108 | ||
109 | check.dependsOn += [eslint] | 109 | check.dependsOn += [eslint] |
110 | 110 | ||
111 | sonarqube.properties { | ||
112 | properties['sonar.sources'] += [ | ||
113 | 'src/main/css', | ||
114 | 'src/main/html', | ||
115 | 'src/main/js', | ||
116 | "${buildDir}/genrated/sources/xtext/js", | ||
117 | ] | ||
118 | properties['sonar.exclusions'] += [ | ||
119 | 'src/main/css/xtext/**', | ||
120 | 'src/main/js/xtext/**', | ||
121 | "${buildDir}/genrated/sources/xtext/js/**" | ||
122 | ] | ||
123 | } | ||
124 | |||
111 | eclipse { | 125 | eclipse { |
112 | project.file.whenMerged { | 126 | project.file.whenMerged { |
113 | natures.remove('org.eclipse.wst.common.modulecore.ModuleCoreNature') | 127 | natures.remove('org.eclipse.wst.common.modulecore.ModuleCoreNature') |