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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 'org.apache.commons:commons-lang3'
  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. testFixturesApi 'junit:junit'
  28. testFixturesApi 'com.google.guava:guava'
  29. testFixturesApi 'org.assertj:assertj-core'
  30. testFixturesApi 'org.junit.jupiter:junit-jupiter-api'
  31. testFixturesApi 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'
  32. testFixturesApi 'commons-io:commons-io'
  33. }
  34. artifactoryPublish.skip = false
  35. publishing {
  36. publications {
  37. mavenJava(MavenPublication) {
  38. from components.java
  39. if (release) {
  40. artifact sourcesJar
  41. artifact javadocJar
  42. }
  43. }
  44. }
  45. }