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. configurations {
  7. includeInResources
  8. }
  9. dependencies {
  10. compileOnly 'com.google.code.findbugs:jsr305'
  11. compile 'commons-codec:commons-codec'
  12. compile 'org.apache.commons:commons-csv'
  13. compile 'org.picocontainer:picocontainer'
  14. compile 'com.google.protobuf:protobuf-java'
  15. compile 'org.codehaus.sonar:sonar-classloader'
  16. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  17. compile 'org.sonarsource.update-center:sonar-update-center-common'
  18. compile 'org.slf4j:slf4j-api'
  19. compile 'ch.qos.logback:logback-classic'
  20. compile 'ch.qos.logback:logback-core'
  21. includeInResources project(path: ':sonar-plugin-api-deps', configuration: 'shadow')
  22. testCompile 'junit:junit'
  23. testCompile 'org.assertj:assertj-core'
  24. testCompile 'com.tngtech.java:junit-dataprovider'
  25. testCompile 'org.mockito:mockito-core'
  26. testCompile project(':sonar-testing-harness')
  27. testCompile 'org.simpleframework:simple'
  28. testCompileOnly 'com.google.code.findbugs:jsr305'
  29. }
  30. // sonar-plugin-api.jar is copied into target JAR file
  31. processResources {
  32. into('/') {
  33. from configurations.includeInResources
  34. rename '(.*)-' + project.version + '-all.jar', '$1.jar'
  35. }
  36. }
  37. // Used by sonar-db-core to run DB Unit Tests
  38. artifactoryPublish.skip = false
  39. publishing {
  40. publications {
  41. mavenJava(MavenPublication) {
  42. from components.java
  43. artifact sourcesJar
  44. artifact javadocJar
  45. }
  46. }
  47. }