comparison metrics50.gradle @ 277:7352aab6847e

SC-181 Add new init50 and metrics50 gradle files for compatibility with gradle 5.0
author Greg Shepherd <shepherd@ssdt-ohio.org>
date Tue, 18 Feb 2020 16:16:23 -0500
parents
children 2f6d25a71778
comparison
equal deleted inserted replaced
276:5eafafe0d79c 277:7352aab6847e
1
2 buildscript {
3 repositories {
4 maven { url 'http://repos.ssdt.nwoca.org/artifactory/gradle-plugins' }
5 maven { url 'http://repos.ssdt.nwoca.org/artifactory/repo' }
6 }
7 dependencies {
8 classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6"
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 }