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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.tngtech.java:junit-dataprovider'
  13. testCompile 'junit:junit'
  14. testCompile 'org.assertj:assertj-core'
  15. testCompile 'org.assertj:assertj-guava'
  16. testCompile 'org.dbunit:dbunit'
  17. testCompile 'org.mockito:mockito-core'
  18. testCompile project(':sonar-testing-harness')
  19. testCompile project(':server:sonar-db-core').sourceSets.test.output
  20. testCompileOnly 'com.google.code.findbugs:jsr305'
  21. testRuntime 'com.h2database:h2'
  22. testRuntime 'com.microsoft.sqlserver:mssql-jdbc'
  23. testRuntime 'com.oracle.jdbc:ojdbc8'
  24. testRuntime 'mysql:mysql-connector-java'
  25. testRuntime 'org.postgresql:postgresql'
  26. }
  27. test {
  28. systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
  29. }
  30. task testJar(type: Jar) {
  31. classifier = 'tests'
  32. from sourceSets.test.output
  33. }
  34. configurations {
  35. tests
  36. }
  37. artifacts {
  38. tests testJar
  39. }