You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Web Service"
  4. property 'sonar.exclusions', 'src/main/java/org/sonarqube/ws/client/*/*.java'
  5. }
  6. }
  7. configurations {
  8. testCompile.extendsFrom(compileOnly)
  9. }
  10. dependencies {
  11. // please keep list ordered
  12. compile 'com.google.guava:guava'
  13. compile 'com.google.protobuf:protobuf-java'
  14. compile 'com.squareup.okhttp3:okhttp'
  15. compile 'commons-io:commons-io'
  16. compileOnly 'com.google.code.findbugs:jsr305'
  17. compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow')
  18. testCompile 'com.squareup.okhttp3:mockwebserver'
  19. testCompile 'commons-lang:commons-lang'
  20. testCompile 'junit:junit'
  21. testCompile 'org.assertj:assertj-core'
  22. testCompile 'org.mockito:mockito-core'
  23. testCompile project(':sonar-testing-harness')
  24. }
  25. artifactoryPublish.skip = false
  26. publishing {
  27. publications {
  28. mavenJava(MavenPublication) {
  29. from components.java
  30. if (release) {
  31. artifact sourcesJar
  32. artifact javadocJar
  33. }
  34. }
  35. }
  36. }