-
Notifications
You must be signed in to change notification settings - Fork 336
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (40 loc) · 1.47 KB
/
build.gradle
File metadata and controls
47 lines (40 loc) · 1.47 KB
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
ext {
latestDepTestMinJavaVersionForTests = JavaVersion.VERSION_11
latestDepForkedTestMinJavaVersionForTests = JavaVersion.VERSION_11
}
muzzle {
pass {
group = "org.apache.axis2"
module = "axis2-kernel"
versions = "[1.3,)"
}
}
apply from: "$rootDir/gradle/java.gradle"
addTestSuiteForDir('latestDepTest', 'test')
addTestSuiteForDir('latestDepForkedTest', 'test')
configurations.configureEach {
// the version used by axis2 isn't available in a public repository - we don't need it, so exclude it
exclude group: 'org.apache.woden', module: 'woden'
// shut up about broken xml-api pom relocation
resolutionStrategy {
force 'xml-apis:xml-apis:1.4.01'
}
}
[compileLatestDepForkedTestGroovy, compileLatestDepTestGroovy].each {
it.configure {
javaLauncher = getJavaLauncherFor(11)
}
}
[compileLatestDepForkedTestJava, compileLatestDepTestJava].each {
it.configure {
setJavaVersion(it, 11)
}
}
dependencies {
compileOnly group: 'org.apache.axis2', name: 'axis2-kernel', version: '1.3'
testImplementation group: 'org.apache.axis2', name: 'axis2-kernel', version: '1.3'
latestDepTestImplementation group: 'org.apache.axis2', name: 'axis2-kernel', version: '+'
latestDepTestImplementation group: 'org.apache.axis2', name: 'axis2-transport-local', version: '+'
latestDepTestImplementation group: 'org.apache.axis2', name: 'axis2-transport-http', version: '+'
latestDepTestImplementation group: 'org.apache.axis2', name: 'axis2-adb', version: '+'
}