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:4.10.3', 'lucene:lucene-queryparser:4.10.3', 'lucene:lucene-analyzers-common:4.10.3', 'hibernate:hibernate-search-orm:5.0.1.Final', 'eclipse:jetty-deploy:8.1.8.v20121106', 'google:gwt-debug-panel:1.0', 'javax:servlet-api:3.0', 'google:gwt-user:2.4', 'reveregroup:gwt-image-loader:1.1.4', 'springframework:spring-orm:4.1.4.RELEASE', '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:4.01' runtime 'slf4j:slf4j-log4j12:1.6.2' testCompile project(path: ':common', configuration: 'tests'), project(path: ':dbmigration', configuration: 'tests'), 'springframework:spring-test:4.1.4.RELEASE' testRuntime project(path: ':common', configuration: 'tests'), project(path: ':dbmigration', configuration: 'tests'), 'apache:commons-fileupload:1.2.1' testRuntimeFirst 'javax:servlet-api:3.0' } 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'