Skip to content
Snippets Groups Projects
Commit 41f73cc9 authored by anttil's avatar anttil
Browse files

SWE-22 / SP-970: cleaned up build files of projects common, openbis-common,...

SWE-22 / SP-970: cleaned up build files of projects common, openbis-common, openbis_api, dbmigration, authentication, openbis

SVN: 30034
parent ac148ed7
No related branches found
No related tags found
No related merge requests found
......@@ -3,23 +3,7 @@ evaluationDependsOn(':common')
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
dependencies {
compile (project(':common')) {
transitive = false
}
compile project(':common')
compile 'rinn:restrictions:1.0.1',
'cisd:cisd-base:r27861',
'apache:log4j:1.2.15',
'python:jython:2.5.2',
'apache:commons-httpclient:3.1',
'cisd:cisd-args4j:9.11.2'
testCompile (project(path: ':common', configuration: 'tests')) {
transitive = false
}
testCompile 'testng:testng:6.8-CISD',
'jmock:jmock:2.5.1'
testRuntime 'fjelmer:classycle:1.4'
testCompile project(path: ':common', configuration: 'tests')
}
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
dependencies {
compile group: "cisd", name: "cisd-base", version: "+", changing: true
compile 'springframework:spring-webmvc:+',
'springframework:spring-aop:+',
'javax:servlet-api:+',
'cisd:cisd-args4j:+',
'python:jython:+',
'apache:log4j:+',
'javax:mail:+',
'apache:commons-httpclient:+',
'apache:poi:+',
'twmacinta:fast-md5:+',
'google:gwt-servlet:+',
'jmock:jmock:+',
'testng:testng:+',
'marathon:marathon-spring-util:+'
compile 'springframework:spring-webmvc:+',
'springframework:spring-aop:+',
'javax:servlet-api:+',
'cisd:cisd-args4j:+',
'python:jython:+',
'apache:log4j:+',
'javax:mail:+',
'apache:commons-httpclient:+',
'apache:poi:+',
'twmacinta:fast-md5:+',
'google:gwt-servlet:+',
'jmock:jmock:+',
'testng:testng:+',
'marathon:marathon-spring-util:+',
'cisd:cisd-base:+'
testCompile 'fjelmer:classycle:+',
'hamcrest:hamcrest-integration:+',
......
......@@ -3,28 +3,12 @@ evaluationDependsOn(':common')
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
dependencies {
compile (project(':common')) {
transitive = false
}
compile 'springframework:spring-jdbc:2.5.6.SEC01',
'apache:commons-dbcp:1.3-CISD',
'h2database:h2:1.1.115',
'postgresql:postgresql:9.2-1000.jdbc4',
'cisd:cisd-base:r27861',
'apache:log4j:1.2.15',
'apache:commons-lang:2.4',
'rinn:restrictions:1.0.1'
testCompile (project(path: ':common', configuration: 'tests')) {
transitive = false
}
testCompile 'startnet:apgdiff:2.3',
'jmock:jmock:2.5.1',
'testng:testng:6.8-CISD'
compile project(':common'),
'springframework:spring-jdbc:+',
'apache:commons-dbcp:+',
'h2database:h2:+',
'postgresql:postgresql:+'
testRuntime 'fjelmer:classycle:1.4'
testCompile project(path: ':common', configuration: 'tests'),
'startnet:apgdiff:+'
}
......@@ -157,4 +157,24 @@ configurations {
artifacts {
tests testJar
}
task compileDependencies(type: Copy) {
into "$buildDir/output/compile-dependencies"
from configurations.compile
}
task runtimeDependencies(type: Copy) {
into "$buildDir/output/runtime-dependencies"
from configurations.runtime
}
task testCompileDependencies(type: Copy) {
into "$buildDir/output/testCompile-dependencies"
from configurations.testCompile
}
task testRuntimeDependencies(type: Copy) {
into "$buildDir/output/testRuntime-dependencies"
from configurations.testRuntime
}
\ No newline at end of file
......@@ -3,37 +3,14 @@ evaluationDependsOn(':common')
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
dependencies {
compile (project(':common')) {
transitive = false
}
compile 'googlecode:jsonrpc4j:0.24-CISD',
'reflections:reflections:0.9.5',
'cisd:cisd-jhdf5:r28568',
'lemnik:eodsql:2.2-CISD',
'springframework:spring-jdbc:2.5.6.SEC01',
'apache:commons-lang:2.4',
'rinn:restrictions:1.0.1',
'springframework:spring-webmvc:2.5.6.SEC01-CISD',
'javax:servlet-api:3.0',
'apache:log4j:1.2.15',
'google:gwt-servlet:2.4',
'cisd:cisd-base:r27861',
'truezip:truezip:6.8.1',
'springframework:spring-aop:2.5.6.SEC01'
testCompile (project(path: ':common', configuration: 'tests')) {
transitive = false
}
testCompile 'hamcrest:hamcrest-integration:1.1',
'eclipse:jetty-servlet:8.1.8.v20121106',
'testng:testng:6.8-CISD',
'jmock:jmock:2.5.1'
compile project(':common'),
'googlecode:jsonrpc4j:+',
'reflections:reflections:+',
'cisd:cisd-jhdf5:+',
'lemnik:eodsql:+',
'springframework:spring-jdbc:+',
'truezip:truezip:+'
testRuntime 'fjelmer:classycle:1.4',
'marathon:marathon-spring-util:1.2.3',
'apache:commons-httpclient:3.1'
testCompile project(path: ':common', configuration: 'tests'),
'eclipse:jetty-servlet:+'
}
\ No newline at end of file
......@@ -6,104 +6,42 @@ evaluationDependsOn(':dbmigration')
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
dependencies {
compile (project(':common')) {
transitive = false
}
compile (project(':openbis_api')) {
transitive = false
}
compile (project(':openbis-common')) {
transitive = false
}
compile (project(':authentication')) {
transitive = false
}
compile (project(':dbmigration')) {
transitive = false
}
compile 'cisd:cisd-base:r27861',
'javax:servlet-api:3.0',
'apache:log4j:1.2.15',
'cisd:cisd-args4j:9.11.2',
'springframework:spring-webmvc:2.5.6.SEC01-CISD',
'apache:poi:3.8-20120326',
'fasterxml:jackson-annotations:2.0.2',
'python:jython:2.5.2',
'sencha:gxt:2.2.5',
'springframework:spring-aop:2.5.6.SEC01',
'apache:commons-collections:4.01',
'google:gwt-debug-panel:1.0',
'javax:mail:1.4.3',
'springframework:spring-jdbc:2.5.6.SEC01',
'cisd:cisd-hotdeploy:13.01.0',
'hibernate:hibernate-core:3.6.10.Final-CISD',
'springframework:spring-orm:2.5.6.SEC01',
'googlecode:jsonrpc4j:0.24-CISD',
'lemnik:eodsql:2.2-CISD',
'unimi:fastutil:5.1.5',
'apache:commons-dbcp:1.3-CISD',
'javax:validation-api:1.0.0.GA',
'hibernate:hibernate-search:3.4.2.Final',
'lucene:lucene-highlighter:3.1.0',
'eclipse:jetty-util:8.1.8.v20121106',
'hibernate:hibernate-validator:4.2.0.Final',
'eclipse:jetty-deploy:8.1.8.v20121106',
'truezip:truezip:6.8.1',
'apache:poi-ooxml:3.8-20120326',
'google:gwt-user:2.4',
'google:gwt-dev:2.4'
runtime (project(':common')) {
transitive = true
}
configurations.create('testRuntimeFirst')
runtime (project(':openbis_api')) {
transitive = true
}
runtime (project(':openbis-common')) {
transitive = true
}
runtime (project(':authentication')) {
transitive = true
}
runtime (project(':dbmigration')) {
transitive = true
}
testCompile (project(path: ':common', configuration: 'tests')) {
transitive = false
}
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',
'springframework:spring-orm:2.5.6.SEC01',
'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:+'
testCompile project(path: ':common', configuration: 'tests'),
project(path: ':dbmigration', configuration: 'tests'),
'springframework:spring-test:2.5.6.SEC01'
testRuntime project(path: ':common', configuration: 'tests'),
project(path: ':dbmigration', configuration: 'tests'),
'apache:commons-fileupload:1.2.1'
testRuntimeFirst 'javax:servlet-api:+'
}
testCompile (project(path: ':dbmigration', configuration: 'tests')) {
transitive = false
}
testCompile 'springframework:spring-test:2.5.6.SEC01',
'testng:testng:6.8-CISD',
'hamcrest:hamcrest-library:1.1',
'hamcrest:hamcrest-integration:1.1',
'jmock:jmock:2.5.1'
testRuntime (project(path: ':common', configuration: 'tests')) {
transitive = true
}
sourceSets.test.runtimeClasspath = configurations.testRuntimeFirst + sourceSets.test.runtimeClasspath
testRuntime (project(path: ':dbmigration', configuration: 'tests')) {
transitive = true
}
testRuntime 'fjelmer:classycle:1.4',
'apache:commons-fileupload:1.2.1'
configurations {
testRuntime.exclude group: 'google', module: 'gwt-servlet'
}
sourceSets {
......
......@@ -3,12 +3,7 @@ evaluationDependsOn(':common')
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
dependencies {
compile (project(':common')) {
transitive = false
}
compile 'fasterxml:jackson-core:2.0.2',
'fasterxml:jackson-annotations:2.0.2',
'cisd:cisd-base:r27861'
compile project(':common'),
'fasterxml:jackson-core:+',
'fasterxml:jackson-annotations:+'
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment