This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
build.gradle
59 lines (53 loc) · 1.54 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
plugins {
id 'base'
id 'eclipse'
id 'idea'
id 'jacoco-report-aggregation'
id 'com.github.ben-manes.versions' version '0.49.0'
id 'org.owasp.dependencycheck' version '9.0.7'
id 'de.thetaphi.forbiddenapis' version '3.6'
}
// CVE vulnerability scanning
// run: ./gradlew :dependencyCheckAggregate
dependencyCheck {
failBuildOnCVSS = 5
suppressionFile = 'cve-suppressions.xml'
analyzers {
experimentalEnabled = false
assemblyEnabled = false
msbuildEnabled = false
nodeEnabled = false
nuspecEnabled = false
retirejs {
enabled = false
}
}
}
repositories {
mavenCentral()
}
dependencies {
jacocoAggregation project(':fahrschein'),
project(':fahrschein-http-api'),
project(':fahrschein-http-simple'),
project(':fahrschein-http-apache'),
project(':fahrschein-http-spring'),
project(':fahrschein-http-jdk11'),
project(':fahrschein-inmemory'),
project(':fahrschein-metrics-dropwizard'),
project(':fahrschein-metrics-micrometer'),
project(':fahrschein-typeresolver'),
project(':fahrschein-opentracing'),
project(':fahrschein-opentelemetry'),
project(':fahrschein-spring-boot-starter')
}
reporting {
reports {
jacocoAggregateReport(JacocoCoverageReport) {
testType = TestSuiteType.UNIT_TEST
}
}
}
tasks.named('check') {
dependsOn tasks.named('jacocoAggregateReport', JacocoReport)
}