-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
64 lines (50 loc) · 1.66 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
plugins {
id 'idea'
id 'war'
}
repositories {
mavenCentral()
mavenLocal()
}
sourceCompatibility = 1.8
sourceSets {
intTest
}
configurations {
intTestImplementation.extendsFrom(testImplementation)
runtime.exclude group: 'org.springframework', module: 'spring-jdbc'
}
idea {
module {
// Add some extra test source dirs
testSourceDirs += file('src/intTest/java')
}
}
dependencies {
implementation 'org.json:json:20220320'
implementation 'org.jdom:jdom2:[2.0.6.1,3.0)'
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
implementation 'org.opencadc:cadc-dali:[1.2.13,)'
implementation 'org.opencadc:cadc-log:[1.1.4,)'
implementation 'org.opencadc:cadc-util:[1.6.1,2.0)'
implementation 'org.opencadc:cadc-vosi:[1.3.12,)'
implementation 'org.opencadc:caom2-search-lib:[2.5.6,3.0)'
runtimeOnly 'javax.servlet.jsp.jstl:jstl-api:1.2'
runtimeOnly 'javax.servlet:jstl:1.2'
testImplementation 'junit:junit:[4.13.2,5.0)'
testImplementation 'org.skyscreamer:jsonassert:[1.5.0,)'
testImplementation 'org.xmlunit:xmlunit-core:[2.9.0,3.0)'
testImplementation 'org.easymock:easymock:[3.4,4.0)'
testImplementation 'org.opencadc:cadc-registry:[1.5.15,)'
intTestImplementation 'org.opencadc:cadc-test-vosi:[1.0.10,)'
}
task intTest(type: Test) {
// set the configuration context
testClassesDirs = sourceSets.intTest.output.classesDirs
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
}