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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 'commons-codec:commons-codec'
  13. api 'commons-io:commons-io'
  14. api 'commons-lang:commons-lang'
  15. api 'javax.annotation:javax.annotation-api'
  16. api 'javax.inject:javax.inject'
  17. api 'org.codehaus.sonar:sonar-classloader'
  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. compileOnlyApi 'com.google.code.findbugs:jsr305'
  24. compileOnlyApi 'com.google.code.gson:gson'
  25. testImplementation 'com.tngtech.java:junit-dataprovider'
  26. testImplementation 'junit:junit'
  27. testImplementation 'org.assertj:assertj-core'
  28. testImplementation 'org.hamcrest:hamcrest-core'
  29. testImplementation 'org.mockito:mockito-core'
  30. testImplementation 'org.simpleframework:simple'
  31. testImplementation project(':sonar-testing-harness')
  32. testCompileOnly 'com.google.code.findbugs:jsr305'
  33. }
  34. // Used by sonar-db-core to run DB Unit Tests
  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. }