forked from opendistro-for-elasticsearch/data-prepper
/
build.gradle
39 lines (36 loc) · 1.41 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
plugins {
id 'java'
}
dependencies {
compile project(':data-prepper-api')
compile project(':data-prepper-plugins:blocking-buffer')
compile 'commons-codec:commons-codec:1.15'
testCompile project(':data-prepper-api').sourceSets.test.output
implementation "io.opentelemetry:opentelemetry-proto:${versionMap.opentelemetry_proto}"
implementation 'com.google.protobuf:protobuf-java-util:3.15.5'
implementation "com.linecorp.armeria:armeria:1.5.0"
implementation "com.linecorp.armeria:armeria-grpc:1.5.0"
implementation "com.fasterxml.jackson.core:jackson-databind:2.12.1"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.12.1"
testImplementation 'org.assertj:assertj-core:3.19.0'
testImplementation "org.mockito:mockito-inline:3.8.0"
testImplementation "org.hamcrest:hamcrest:2.2"
testImplementation(platform('org.junit:junit-bom:5.7.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
// TODO: update versionMap to use a higher version of mockito for all subprojects
testImplementation("org.mockito:mockito-core:3.8.0")
testImplementation("org.mockito:mockito-junit-jupiter:3.8.0")
}
test {
useJUnitPlatform()
}
jacocoTestCoverageVerification {
dependsOn jacocoTestReport
violationRules {
rule { //in addition to core projects rule
limit {
minimum = 0.90
}
}
}
}