Skip to content
Snippets Groups Projects
Commit 911f7685 authored by anttil's avatar anttil
Browse files

fix failing gradle tests of datastore_server

SVN: 30356
parent cd0ed509
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,9 @@ evaluationDependsOn(':openbis') ...@@ -7,6 +7,9 @@ evaluationDependsOn(':openbis')
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle' apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
configurations.create('testRuntimeFirst')
configurations.create('testRuntimeSecond')
dependencies { dependencies {
compile project(':common'), compile project(':common'),
project(':openbis-common'), project(':openbis-common'),
...@@ -29,8 +32,17 @@ dependencies { ...@@ -29,8 +32,17 @@ dependencies {
testCompile project(path: ':common', configuration: 'tests'), testCompile project(path: ':common', configuration: 'tests'),
project(path: ':openbis-common', configuration: 'tests'), project(path: ':openbis-common', configuration: 'tests'),
project(path: ':openbis', configuration: 'tests') project(path: ':openbis', configuration: 'tests')
testRuntimeFirst 'javax:servlet-api:+'
testRuntimeSecond 'google:gwt-user:+'
} }
configurations {
testRuntime.exclude group: 'google', module: 'gwt-servlet'
}
sourceSets.test.runtimeClasspath = configurations.testRuntimeFirst + configurations.testRuntimeSecond + sourceSets.test.runtimeClasspath
sourceSets { sourceSets {
test { test {
resources { resources {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment