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

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(compileOnlyApi)
  9. }
  10. dependencies {
  11. // please keep list ordered
  12. api 'com.google.protobuf:protobuf-java'
  13. api 'com.squareup.okhttp3:okhttp'
  14. api 'com.google.code.gson:gson'
  15. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  16. compileOnlyApi 'com.google.code.findbugs:jsr305'
  17. compileOnlyApi 'javax.annotation:javax.annotation-api'
  18. testImplementation 'com.squareup.okhttp3:mockwebserver'
  19. testImplementation 'com.squareup.okio:okio'
  20. testImplementation 'commons-io:commons-io'
  21. testImplementation 'commons-lang:commons-lang'
  22. testImplementation 'junit:junit'
  23. testImplementation 'org.assertj:assertj-core'
  24. testImplementation 'org.hamcrest:hamcrest-core'
  25. testImplementation 'org.mockito:mockito-core'
  26. testImplementation 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. }