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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.protobuf:protobuf-java'
  13. compile 'com.squareup.okhttp3:okhttp'
  14. compileOnly 'com.google.code.findbugs:jsr305'
  15. compileOnly 'javax.annotation:javax.annotation-api'
  16. compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow')
  17. testCompile 'com.squareup.okhttp3:mockwebserver'
  18. testCompile 'com.squareup.okio:okio'
  19. testCompile 'commons-io:commons-io'
  20. testCompile 'commons-lang:commons-lang'
  21. testCompile 'junit:junit'
  22. testCompile 'org.assertj:assertj-core'
  23. testCompile 'org.hamcrest:hamcrest-core'
  24. testCompile 'org.mockito:mockito-core'
  25. testCompile project(':sonar-testing-harness')
  26. }
  27. artifactoryPublish.skip = false
  28. publishing {
  29. publications {
  30. mavenJava(MavenPublication) {
  31. from components.java
  32. if (release) {
  33. artifact sourcesJar
  34. artifact javadocJar
  35. }
  36. }
  37. }
  38. }