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

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