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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: DAO"
  4. }
  5. }
  6. dependencies {
  7. // please keep the list grouped by configuration and ordered by name
  8. compile project(':server:sonar-db-core')
  9. compile project(':server:sonar-db-migration')
  10. compile project(':sonar-core')
  11. compileOnly 'com.google.code.findbugs:jsr305'
  12. testCompile 'com.h2database:h2'
  13. testCompile 'com.tngtech.java:junit-dataprovider'
  14. testCompile 'junit:junit'
  15. testCompile 'org.assertj:assertj-core'
  16. testCompile 'org.assertj:assertj-guava'
  17. testCompile 'org.dbunit:dbunit'
  18. testCompile 'org.mockito:mockito-core'
  19. testCompile project(':sonar-testing-harness')
  20. testCompile project(':server:sonar-db-core').sourceSets.test.output
  21. testCompileOnly 'com.google.code.findbugs:jsr305'
  22. }
  23. test {
  24. if (System.hasProperty('orchestrator.configUrl'))
  25. systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
  26. }
  27. task testJar(type: Jar) {
  28. classifier = 'tests'
  29. from sourceSets.test.output
  30. }
  31. artifactoryPublish.skip = false
  32. // Used by core plugins
  33. publishing {
  34. publications {
  35. mavenJava(MavenPublication) {
  36. from components.java
  37. artifact testJar
  38. artifact sourcesJar
  39. artifact javadocJar
  40. }
  41. }
  42. }