blob: b443bf860e670a716813ee88d8567f8b7f0670e3 (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
|
sonar {
properties {
property 'sonar.projectName', "${projectTitle} :: Web Service"
property 'sonar.exclusions', 'src/main/java/org/sonarqube/ws/client/*/*.java'
}
}
configurations {
testImplementation.extendsFrom(compileOnlyApi)
}
dependencies {
// please keep list ordered
api 'com.google.protobuf:protobuf-java'
api 'com.squareup.okhttp3:okhttp'
api 'com.squareup.okhttp3:logging-interceptor'
api 'com.google.code.gson:gson'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.annotation:javax.annotation-api'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okio:okio'
testImplementation 'commons-io:commons-io'
testImplementation 'org.apache.commons:commons-lang3'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-core'
testImplementation project(':sonar-testing-harness')
testFixturesApi 'junit:junit'
testFixturesApi 'com.google.guava:guava'
testFixturesApi 'org.assertj:assertj-core'
testFixturesApi 'org.junit.jupiter:junit-jupiter-api'
testFixturesApi 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'
testFixturesApi 'commons-io:commons-io'
}
artifactoryPublish.skip = false
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
if (release) {
artifact sourcesJar
artifact javadocJar
}
}
}
}
|