forked from opencadc/cadc-target-resolver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (57 loc) · 1.61 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
plugins {
id 'maven'
id 'idea'
id 'war'
}
repositories {
mavenLocal()
jcenter()
}
sourceCompatibility = 1.7
group = 'org.opencadc'
version = '1013'
war {
archiveName = project.name + '##' + project.version + '.war'
}
sourceSets {
intTest
}
configurations {
intTestCompile.extendsFrom(testCompile)
intTestRuntime.extendsFrom(testRuntime)
}
idea {
module {
//and some extra test source dirs
testSourceDirs += file('src/intTest/java')
scopes.TEST.plus += [ configurations.intTestCompile ]
}
}
dependencies {
compile 'log4j:log4j:1.2.+'
compile 'org.json:json:20180130'
compile 'org.jdom:jdom2:2.+'
providedCompile 'javax.servlet:javax.servlet-api:3.1.+'
compile 'org.opencadc:cadc-dali:1.+'
compile 'org.opencadc:cadc-util:[1.0.5,)'
compile 'org.opencadc:cadc-log:1.+'
compile 'org.opencadc:cadc-vosi:1.+'
compile 'org.opencadc:caom2-search-lib:[2.3.1, )'
runtime 'jstl:jstl:1.2+'
testCompile 'junit:junit:4.+'
testCompile 'org.skyscreamer:jsonassert:1.+'
testCompile 'org.xmlunit:xmlunit-core:2.+'
testCompile 'org.easymock:easymock:3.+'
testCompile 'org.opencadc:cadc-registry:[1.0.3,)'
intTestCompile 'org.opencadc:cadc-test-vosi:[1.0.2,)'
}
task intTest(type: Test) {
// set the configuration context
testClassesDir = sourceSets.intTest.output.classesDir
classpath = sourceSets.intTest.runtimeClasspath
// run the tests always
outputs.upToDateWhen { false }
// Assign all Java system properties from
// the command line to the tests
systemProperties System.properties
}