-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
56 lines (45 loc) · 1.19 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
// doip-simulation
plugins {
id 'java-library'
id 'eclipse'
id 'jacoco'
}
group = "com.github.doip"
version = '2.0.0'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.19.0'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.19.0'
implementation 'com.github.doip:doip-library:2.0.0'
implementation 'com.github.doip:doip-simulation-api:1.1.0'
testImplementation 'com.github.doip:doip-tester-toolkit:2.0.0'
testImplementation 'com.github.starcode88:starcode88-jtest:1.2.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
}
jar {
manifest {
attributes (
'Class-Path' : configurations.runtimeClasspath.collect { it.getName() }.join(' ')
)
}
}
test {
useJUnitPlatform()
systemProperty 'log4j.configurationFile', 'src/test/resources/log4j2.xml'
systemProperty 'tester.config', 'src/test/resources/tester.properties'
reports {
junitXml {
outputPerTestCase = true // defaults to false
//mergeReruns = true // defaults to false
}
}
}
tasks.withType(Test) {
maxParallelForks = 1
}
javadoc {
failOnError = false
}