evaluationDependsOn(':common') evaluationDependsOn(':openbis_api') evaluationDependsOn(':openbis-common') evaluationDependsOn(':authentication') evaluationDependsOn(':dbmigration') apply from: '../gradle/javaproject.gradle' configurations.create('testRuntimeFirst') dependencies { compile project(':common'), project(':openbis_api'), project(':openbis-common'), project(':authentication'), project(':dbmigration'), 'sencha:gxt:2.2.5', 'lucene:lucene-highlighter:3.1.0', 'hibernate:hibernate-search:3.4.2.Final', 'eclipse:jetty-deploy:8.1.8.v20121106', 'google:gwt-debug-panel:1.0', 'google:gwt-user:2.4', 'reveregroup:gwt-image-loader:+', 'springframework:spring-orm:+', 'cisd:cisd-hotdeploy:13.01.0', 'apache:poi-ooxml:3.8-20120326', 'hibernate:hibernate-validator:4.2.0.Final', 'unimi:fastutil:5.1.5', 'apache:commons-collections:+' runtime 'slf4j:slf4j-log4j12:+' testCompile project(path: ':common', configuration: 'tests'), project(path: ':dbmigration', configuration: 'tests'), 'springframework:spring-test:+' testRuntime project(path: ':common', configuration: 'tests'), project(path: ':dbmigration', configuration: 'tests'), 'apache:commons-fileupload:1.2.1' testRuntimeFirst 'javax:servlet-api:+' } sourceSets.test.runtimeClasspath = configurations.testRuntimeFirst + sourceSets.test.runtimeClasspath configurations { testRuntime.exclude group: 'google', module: 'gwt-servlet' } sourceSets { test { resources { srcDirs = ['source/java'] } } } task cleanDbSuite(type: Test) { useTestNG() options.suites('sourceTest/java/tests_system_cleandb_excluding_authorization.xml') reports.html.destination = file("${project.buildDir}/reports/tests-cleandb") } // This task is here to make WebAppsPropertiesTest to work. It requires some data files // to be present on the same directory than the class file itself. task copyTestData(type: Copy, dependsOn: testClasses) { from "${project.projectDir}/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/basic" into "${project.buildDir}/classes/test/ch/systemsx/cisd/openbis/generic/shared/basic" include "*.properties" } test.dependsOn(copyTestData) test.dependsOn(cleanDbSuite) apply from: 'gwtdev.gradle'