generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
55 lines (46 loc) · 1.22 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
plugins {
id 'java-library'
id 'groovy'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
dependencies {
implementation project(':shared')
testImplementation testFixtures(project(':shared'))
implementation 'com.azure:azure-storage-blob:12.29.0'
implementation 'com.azure:azure-identity:1.14.2'
testImplementation 'org.apache.groovy:groovy:4.0.24'
testImplementation 'org.spockframework:spock-core:2.3-groovy-4.0'
testImplementation 'com.openpojo:openpojo:0.9.1'
testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.17.5'
}
jacocoTestCoverageVerification {
violationRules {
rule {
limit {
minimum = 0.90
}
}
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, excludes: rootProject.ext.jacoco_excludes)
}))
}
}
jacocoTestReport {
reports {
xml.required = true
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, excludes: rootProject.ext.jacoco_excludes)
}))
}
}
tasks.named('test') {
useJUnitPlatform()
}