-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
40 lines (34 loc) · 1019 Bytes
/
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
plugins {
id 'com.github.spotbugs' version '6.0.26' apply false
id 'checkstyle'
id 'org.owasp.dependencycheck' version '11.1.1'
id 'com.github.kt3k.coveralls' version '2.12.2'
id 'com.vanniktech.maven.publish' version '0.30.0'
}
apply plugin: 'org.owasp.dependencycheck'
repositories {
mavenLocal()
maven {
url = "https://repo.maven.apache.org/maven2"
}
maven {
url = "https://repo1.maven.org/maven2"
}
}
tasks.withType(Copy).all {
duplicatesStrategy 'exclude'
}
dependencyCheck {
nvd.apiKey = System.getenv("NVD_API_KEY")
nvd.datafeedUrl = "https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-{0}.json.gz"
}
apply from: 'gradle/java.gradle'
dependencies {
testImplementation (
"org.junit.jupiter:junit-jupiter-api:${junitVersion}",
"org.junit.jupiter:junit-jupiter:${junitVersion}",
"org.junit.platform:junit-platform-runner:${junitPlatformVersion}",
"org.mockito:mockito-core:${mockitoVersion}",
"org.mockito:mockito-junit-jupiter:${mockitoVersion}"
)
}