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. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Core"
  4. }
  5. }
  6. configureCompileJavaToVersion 8
  7. dependencies {
  8. // please keep list ordered
  9. compile 'ch.qos.logback:logback-classic'
  10. compile 'ch.qos.logback:logback-core'
  11. compile 'com.google.guava:guava'
  12. compile 'com.google.protobuf:protobuf-java'
  13. compile 'commons-codec:commons-codec'
  14. compile 'commons-io:commons-io'
  15. compile 'commons-lang:commons-lang'
  16. compile 'javax.inject:javax.inject'
  17. compile 'org.codehaus.sonar:sonar-classloader'
  18. compile 'org.picocontainer:picocontainer'
  19. compile 'org.slf4j:slf4j-api'
  20. compile 'org.sonarsource.update-center:sonar-update-center-common'
  21. compile 'org.springframework:spring-context'
  22. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  23. compile project(':sonar-plugin-api-impl')
  24. compileOnly 'com.google.code.findbugs:jsr305'
  25. testCompile 'com.tngtech.java:junit-dataprovider'
  26. testCompile 'junit:junit'
  27. testCompile 'org.assertj:assertj-core'
  28. testCompile 'org.hamcrest:hamcrest-core'
  29. testCompile 'org.mockito:mockito-core'
  30. testCompile 'org.simpleframework:simple'
  31. testCompile 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. }