comparison metrics70.gradle @ 292:2307b12a55e6

merge
author Marc Davis <marc.davis@mcoecn.org>
date Mon, 22 Aug 2022 14:34:04 -0400
parents 36b6c48ee6c7
children de8c350c511a
comparison
equal deleted inserted replaced
291:7dc9624e59f7 292:2307b12a55e6
1
2 buildscript {
3 repositories {
4 maven { url 'https://docker.ssdt.io/artifactory/gradle-plugins' }
5 maven { url 'https://docker.ssdt.io/artifactory/ssdt-repo' }
6 }
7 dependencies {
8 classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3"
9 }
10 }
11
12 apply plugin: org.sonarqube.gradle.SonarQubePlugin
13
14 sonarqube {
15 properties {
16 property "sonar.host.url", "http://sonar.ssdt.io:9000"
17 property "sonar.login", System.getenv('bamboo_SONAR_TOKEN')
18 property "sonar.exclusions","**/ProjectVersion*"
19 }
20 }
21
22 allprojects {
23 afterEvaluate { project ->
24 project.getTasksByName('sonarqube',false).each {
25 it.enabled = gradle.branchStream in ['release']
26 }
27 }
28 }