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

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