comparison metrics.gradle @ 251:969e33b82a99

USASR-2891: Change version of sonar gradle plugin to 2.6 when using Gradle version >= 4.2.1
author Christopher Springer <springer@nwoca.org>
date Sat, 11 Nov 2017 02:38:26 +0000
parents c8c8766492c5
children 46064f36ae31
comparison
equal deleted inserted replaced
250:88d5807ea351 251:969e33b82a99
11 maven { url 'http://repos.ssdt.nwoca.org/artifactory/gradle-plugins' } 11 maven { url 'http://repos.ssdt.nwoca.org/artifactory/gradle-plugins' }
12 maven { url 'http://repos.ssdt.nwoca.org/artifactory/repo' } 12 maven { url 'http://repos.ssdt.nwoca.org/artifactory/repo' }
13 } 13 }
14 dependencies { 14 dependencies {
15 classpath 'me.davesmith:jaranalyzerplugin:0.2.0-SNAPSHOT' 15 classpath 'me.davesmith:jaranalyzerplugin:0.2.0-SNAPSHOT'
16 classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${GradleVersion.current() >= gradleV421 ? '2.5' : '2.2'}" 16 classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${GradleVersion.current() >= gradleV421 ? '2.6' : '2.2'}"
17 } 17 }
18 } 18 }
19 19
20 apply plugin: me.davesmith.gradle.plugins.jaranalyzer.JarAnalyzerPlugin 20 apply plugin: me.davesmith.gradle.plugins.jaranalyzer.JarAnalyzerPlugin
21 21