diff options
Diffstat (limited to 'server/sonar-db-dao/build.gradle')
-rw-r--r-- | server/sonar-db-dao/build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle index 18f3fefcfe8..b78b2b6fada 100644 --- a/server/sonar-db-dao/build.gradle +++ b/server/sonar-db-dao/build.gradle @@ -17,6 +17,7 @@ dependencies { compile project(path: ':sonar-plugin-api', configuration: 'shadow') compile project(':server:sonar-db-core') + compile project(':server:sonar-db-migration') compile project(':sonar-core') compileOnly 'com.google.code.findbugs:jsr305' @@ -44,6 +45,12 @@ test { systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl') } +task dumpSchema(type:JavaExec) { + main = 'org.sonar.db.dump.DumpSQSchema' + classpath = sourceSets.test.runtimeClasspath +} +tasks.check.dependsOn dumpSchema + task testJar(type: Jar) { classifier = 'tests' from sourceSets.test.output |