annotate metrics70.gradle @ 362:de8c350c511a tip

domain change from ssdt.io to ssdt-ohio.org
author Marc Davis <marc.davis@mcoecn.org>
date Wed, 04 Sep 2024 10:18:53 -0400
parents 36b6c48ee6c7
children
rev   line source
290
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
1
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
2 buildscript {
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
3 repositories {
362
de8c350c511a domain change from ssdt.io to ssdt-ohio.org
Marc Davis <marc.davis@mcoecn.org>
parents: 290
diff changeset
4 maven { url 'https://docker.ssdt-ohio.org/artifactory/gradle-plugins' }
de8c350c511a domain change from ssdt.io to ssdt-ohio.org
Marc Davis <marc.davis@mcoecn.org>
parents: 290
diff changeset
5 maven { url 'https://docker.ssdt-ohio.org/artifactory/ssdt-repo' }
290
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
6 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
7 dependencies {
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
8 classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3"
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
9 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
10 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
11
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
12 apply plugin: org.sonarqube.gradle.SonarQubePlugin
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
13
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
14 sonarqube {
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
15 properties {
362
de8c350c511a domain change from ssdt.io to ssdt-ohio.org
Marc Davis <marc.davis@mcoecn.org>
parents: 290
diff changeset
16 property "sonar.host.url", "http://sonar.ssdt-ohio.org:9000"
290
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
17 property "sonar.login", System.getenv('bamboo_SONAR_TOKEN')
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
18 property "sonar.exclusions","**/ProjectVersion*"
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
19 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
20 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
21
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
22 allprojects {
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
23 afterEvaluate { project ->
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
24 project.getTasksByName('sonarqube',false).each {
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
25 it.enabled = gradle.branchStream in ['release']
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
26 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
27 }
36b6c48ee6c7 SSED-1600: Created metrics70.gradle with an updated sonarqube-gradle-plugin (from 2.6 to 3.3), modified init70.gradle to use metrics70.gradle
Kyle Miller <kyle.miller@mcoecn.org>
parents:
diff changeset
28 }