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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. sonar {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Core"
  4. }
  5. }
  6. dependencies {
  7. // please keep list ordered
  8. api 'ch.qos.logback:logback-classic'
  9. api 'ch.qos.logback:logback-core'
  10. api 'com.google.guava:guava'
  11. api 'com.google.protobuf:protobuf-java'
  12. api 'com.squareup.okhttp3:okhttp'
  13. api 'commons-codec:commons-codec'
  14. api 'commons-io:commons-io'
  15. api 'commons-lang:commons-lang'
  16. api 'javax.annotation:javax.annotation-api'
  17. api 'javax.inject:javax.inject'
  18. api 'org.slf4j:slf4j-api'
  19. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  20. api 'org.sonarsource.update-center:sonar-update-center-common'
  21. api 'org.springframework:spring-context'
  22. api project(':sonar-plugin-api-impl')
  23. api project(':sonar-ws')
  24. compileOnlyApi 'com.google.code.findbugs:jsr305'
  25. compileOnlyApi 'com.google.code.gson:gson'
  26. testImplementation 'com.tngtech.java:junit-dataprovider'
  27. testImplementation 'junit:junit'
  28. testImplementation 'org.assertj:assertj-core'
  29. testImplementation 'org.hamcrest:hamcrest-core'
  30. testImplementation 'org.mockito:mockito-core'
  31. testImplementation 'org.simpleframework:simple'
  32. testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  33. testImplementation project(':sonar-testing-harness')
  34. testCompileOnly 'com.google.code.findbugs:jsr305'
  35. }
  36. // Used by sonar-db-core to run DB Unit Tests
  37. artifactoryPublish.skip = false
  38. publishing {
  39. publications {
  40. mavenJava(MavenPublication) {
  41. from components.java
  42. if (release) {
  43. artifact sourcesJar
  44. artifact javadocJar
  45. }
  46. }
  47. }
  48. }