evaluationDependsOn(':commonbase') evaluationDependsOn(':common') evaluationDependsOn(':openbis_api') evaluationDependsOn(':openbis-common') evaluationDependsOn(':authentication') evaluationDependsOn(':dbmigration') evaluationDependsOn(':openbis') evaluationDependsOn(':datastore_server') evaluationDependsOn(':openbis_standard_technologies') apply from: '../gradle/javaproject.gradle' sourceSets { main { java { srcDirs = ['sourceTest/java'] } } test { java { srcDirs = ['source/java'] } resources { srcDirs = ['resource'] } } } configurations.create('testRuntimeFirst') configurations.create('testRuntimeSecond') configurations.create('externalDss') dependencies { testCompile project(':datastore_server'), 'selenium:selenium-java:2.37.0' testRuntimeFirst 'javax:servlet-api:3.1.0', 'reflections:reflections:0.9.5' testRuntimeSecond 'google:gwt-user:2.4' externalDss project(':datastore_server') } sourceSets.test.runtimeClasspath = configurations.testRuntimeFirst + configurations.testRuntimeSecond + sourceSets.test.runtimeClasspath task copyWar(type: Copy, dependsOn: project(':openbis_standard_technologies').war) { from project(':openbis_standard_technologies').war into 'targets/gradle/openbis-war' rename {filename -> 'openbis.war'} } test { useTestNG() options.suites('source/java/tests.xml') jvmArgs '-Xmx2048m', '-XX:MaxPermSize=256m', '-Duser.timezone=Europe/Zurich' testLogging.showStandardStreams = true ignoreFailures = true systemProperty 'selenium.dss-runtime-classpath', configurations.externalDss.asPath } test.dependsOn copyWar