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

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