diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-18 22:13:43 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-22 12:37:47 +0100 |
commit | 0a9d9db7f85e7d45b4ffa319d262231f311641f9 (patch) | |
tree | adb10e40de4c3ae338ee2c29f10c9caf8cb821c9 /server/sonar-db-dao/build.gradle | |
parent | 73e39a73e70b97ab0043cf5abc4eddcf68f2ce00 (diff) | |
download | sonarqube-0a9d9db7f85e7d45b4ffa319d262231f311641f9.tar.gz sonarqube-0a9d9db7f85e7d45b4ffa319d262231f311641f9.zip |
Single Gradle build for SQ and core plugins
Diffstat (limited to 'server/sonar-db-dao/build.gradle')
-rw-r--r-- | server/sonar-db-dao/build.gradle | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle index 24a45f382e1..98149ad92e5 100644 --- a/server/sonar-db-dao/build.gradle +++ b/server/sonar-db-dao/build.gradle @@ -13,7 +13,6 @@ dependencies { compileOnly 'com.google.code.findbugs:jsr305' - testCompile 'com.h2database:h2' testCompile 'com.tngtech.java:junit-dataprovider' testCompile 'junit:junit' testCompile 'org.assertj:assertj-core' @@ -24,11 +23,16 @@ dependencies { testCompile project(':server:sonar-db-core').sourceSets.test.output testCompileOnly 'com.google.code.findbugs:jsr305' + + testRuntime 'com.h2database:h2' + testRuntime 'com.microsoft.sqlserver:mssql-jdbc' + testRuntime 'com.oracle.jdbc:ojdbc8' + testRuntime 'mysql:mysql-connector-java' + testRuntime 'org.postgresql:postgresql' } test { - if (System.hasProperty('orchestrator.configUrl')) - systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl') + systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl') } task testJar(type: Jar) { @@ -36,6 +40,14 @@ task testJar(type: Jar) { from sourceSets.test.output } +configurations { + tests +} + +artifacts { + tests testJar +} + artifactoryPublish.skip = false // Used by core plugins |