evaluationDependsOn(':common') evaluationDependsOn(':openbis_api') evaluationDependsOn(':openbis-common') evaluationDependsOn(':authentication') evaluationDependsOn(':dbmigration') evaluationDependsOn(':openbis') evaluationDependsOn(':datastore_server') apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle' configurations { distribution } dependencies { compile project(':datastore_server') testCompile project(path: ':common', configuration: 'tests') distribution 'jfree:jfreechart:1.0.13' } sourceSets { main { resources { srcDirs = ['source/java', 'source', 'targets/dist'] exclude 'java/**' } } } jar { manifest { attributes("Main-Class": "ch.systemsx.cisd.yeastx.BuildAndEnvironmentInfo", "Version": versionNumber, "Build-Number": "${versionNumber} (r${revisionNumber},${cleanFlag})") } } task zip(type: Zip) { from jar from configurations.distribution into 'datastore_server/lib/' rename "datastore_server_plugin-yeastx.*\\.jar", "datastore_server_plugin-yeastx.jar" } zip.dependsOn jar build.dependsOn zip archivesBaseName = 'datastore_server_plugin-yeastx'