evaluationDependsOn(':common') evaluationDependsOn(':openbis_api') evaluationDependsOn(':openbis-common') evaluationDependsOn(':authentication') evaluationDependsOn(':dbmigration') evaluationDependsOn(':openbis') evaluationDependsOn(':datastore_server') apply from: '../gradle/javaproject.gradle' configurations { distribution } dependencies { compile project(':datastore_server') testCompile project(path: ':common', configuration: 'tests') distribution 'jfree:jfreechart:+' } sourceSets { main { resources { srcDirs = ['source/java', 'source'] exclude 'java/**' } } } jar { manifest { attributes("Main-Class": "ch.systemsx.cisd.yeastx.BuildAndEnvironmentInfo", "Version": versionNumber, "Build-Number": "${versionNumber} (r${revisionNumber},${cleanFlag})") } from('targets/dist') { include 'BUILD-*' } } 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'