Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.squareup.okhttp3:logging-interceptor'
  15. api 'com.google.code.gson:gson'
  16. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  17. compileOnlyApi 'com.google.code.findbugs:jsr305'
  18. compileOnlyApi 'javax.annotation:javax.annotation-api'
  19. testImplementation 'com.squareup.okhttp3:mockwebserver'
  20. testImplementation 'com.squareup.okio:okio'
  21. testImplementation 'commons-io:commons-io'
  22. testImplementation 'org.apache.commons:commons-lang3'
  23. testImplementation 'junit:junit'
  24. testImplementation 'org.assertj:assertj-core'
  25. testImplementation 'org.hamcrest:hamcrest-core'
  26. testImplementation 'org.mockito:mockito-core'
  27. testImplementation project(':sonar-testing-harness')
  28. testFixturesApi 'junit:junit'
  29. testFixturesApi 'com.google.guava:guava'
  30. testFixturesApi 'org.assertj:assertj-core'
  31. testFixturesApi 'org.junit.jupiter:junit-jupiter-api'
  32. testFixturesApi 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'
  33. testFixturesApi 'commons-io:commons-io'
  34. }
  35. artifactoryPublish.skip = false
  36. publishing {
  37. publications {
  38. mavenJava(MavenPublication) {
  39. from components.java
  40. if (release) {
  41. artifact sourcesJar
  42. artifact javadocJar
  43. }
  44. }
  45. }
  46. }