Browse Source

remove need to add H2 dependency when depending on sonar-db-testing

tags/8.0
Sébastien Lesaint 4 years ago
parent
commit
b4694fd3ae

+ 0
- 2
server/sonar-ce-common/build.gradle View File

@@ -54,6 +54,4 @@ dependencies {
testCompile project(':sonar-plugin-api-impl')
testCompile project(':server:sonar-db-testing')
testCompile project(path: ":server:sonar-server-common", configuration: "tests")

testRuntime 'com.h2database:h2'
}

+ 0
- 1
server/sonar-ce-task-projectanalysis/build.gradle View File

@@ -51,7 +51,6 @@ dependencies {
compileOnly 'com.google.code.findbugs:jsr305'

testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.apache.logging.log4j:log4j-api'

+ 0
- 1
server/sonar-ce-task/build.gradle View File

@@ -33,7 +33,6 @@ dependencies {
testCompile 'ch.qos.logback:logback-classic'
testCompile 'ch.qos.logback:logback-core'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.apache.logging.log4j:log4j-api'

+ 0
- 2
server/sonar-ce/build.gradle View File

@@ -39,6 +39,4 @@ dependencies {
testCompile project(':server:sonar-db-testing')

testRuntime 'com.h2database:h2'

}

+ 2
- 1
server/sonar-db-testing/build.gradle View File

@@ -6,7 +6,8 @@ sonarqube {

dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.h2database:h2'
compile project(':server:sonar-db-core').sourceSets.test.output
compile project(':server:sonar-db-dao').sourceSets.test.output
}

+ 0
- 1
server/sonar-server-common/build.gradle View File

@@ -38,7 +38,6 @@ dependencies {

testCompile 'ch.qos.logback:logback-core'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okio:okio'
testCompile 'com.tngtech.java:junit-dataprovider'

+ 0
- 1
server/sonar-server/build.gradle View File

@@ -58,7 +58,6 @@ dependencies {

testCompile 'com.github.kevinsawicki:http-request'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'

+ 0
- 1
server/sonar-webserver-auth/build.gradle View File

@@ -29,7 +29,6 @@ dependencies {
compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'

testCompile 'com.h2database:h2'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'javax.servlet:javax.servlet-api'

+ 0
- 1
server/sonar-webserver-es/build.gradle View File

@@ -25,7 +25,6 @@ dependencies {
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'org.mockito:mockito-core'
testCompile project(':server:sonar-db-testing')

+ 0
- 1
server/sonar-webserver-webapi/build.gradle View File

@@ -30,7 +30,6 @@ dependencies {
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'javax.servlet:javax.servlet-api'

+ 0
- 1
server/sonar-webserver/build.gradle View File

@@ -21,7 +21,6 @@ dependencies {

testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'com.h2database:h2'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'org.mockito:mockito-core'

Loading…
Cancel
Save