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:+' testRuntimeFirst 'javax:servlet-api:+', 'reflections:reflections:+' testRuntimeSecond 'google:gwt-user:+' 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