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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 'com.google.guava:guava'
  9. compile 'com.google.protobuf:protobuf-java'
  10. compile 'commons-dbutils:commons-dbutils'
  11. compile 'commons-io:commons-io'
  12. compile 'commons-lang:commons-lang'
  13. compile 'net.jpountz.lz4:lz4'
  14. compile 'org.mybatis:mybatis'
  15. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  16. compile project(':server:sonar-db-core')
  17. compile project(':sonar-core')
  18. compileOnly 'com.google.code.findbugs:jsr305'
  19. testCompile 'com.tngtech.java:junit-dataprovider'
  20. testCompile 'junit:junit'
  21. testCompile 'org.assertj:assertj-core'
  22. testCompile 'org.assertj:assertj-guava'
  23. testCompile 'org.dbunit:dbunit'
  24. testCompile 'org.mockito:mockito-core'
  25. testCompile project(':sonar-testing-harness')
  26. testCompile project(':server:sonar-db-core').sourceSets.test.output
  27. testCompile project(':sonar-plugin-api-impl')
  28. testCompileOnly 'com.google.code.findbugs:jsr305'
  29. testRuntime 'com.h2database:h2'
  30. testRuntime 'com.microsoft.sqlserver:mssql-jdbc'
  31. testRuntime 'com.oracle.jdbc:ojdbc8'
  32. testRuntime 'org.postgresql:postgresql'
  33. }
  34. test {
  35. systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
  36. }
  37. task testJar(type: Jar) {
  38. classifier = 'tests'
  39. from sourceSets.test.output
  40. }
  41. configurations {
  42. tests
  43. }
  44. artifacts {
  45. tests testJar
  46. }