forked from baohuy91/sonar-custom-metric-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
42 lines (34 loc) · 1.01 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id 'java'
id "jacoco"
id "com.iadams.sonar-packaging" version "1.0-RC1"
id "org.sonarqube" version "2.6"
}
group 'jp.co.atware'
version '1.1'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
ext {
sonarVersion = "7.1"
okhttpVersion = "3.11.0"
gsonVersion = "2.8.5"
junitVersion = "4.12"
mockitoVersion = "2.20.1"
}
dependencies {
compileOnly "org.sonarsource.sonarqube:sonar-plugin-api:$sonarVersion"
compile "com.squareup.okhttp3:okhttp:$okhttpVersion"
compile "com.google.code.gson:gson:$gsonVersion"
testCompile "org.sonarsource.sonarqube:sonar-plugin-api:$sonarVersion"
testCompile "junit:junit:$junitVersion"
testCompile "org.mockito:mockito-core:$mockitoVersion"
testCompile "com.squareup.okhttp3:mockwebserver:$okhttpVersion"
}
sonarPackaging {
pluginKey = "custommetrics"
pluginClass = "jp.co.atware.sonar.custommetric.CustomMetricPlugin"
pluginName = "Custom Metrics"
pluginDescription = "Custom SonarQube metrics"
}