-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
42 lines (38 loc) · 1.14 KB
/
build.gradle.kts
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
/* SPDX-License-Identifier: Apache-2.0 */
plugins {
id("com.atlan.java")
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("org.owasp.dependencycheck") version "11.0.0"
}
group = providers.gradleProperty("GROUP").get()
version = providers.gradleProperty("VERSION_NAME").get()
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
dependencyCheck {
nvd {
apiKey = System.getenv("NVD_API_KEY") ?: ""
}
failBuildOnCVSS = 7.0F
}
configurations.all {
resolutionStrategy {
// Note: force a safe version of all of these libraries, even if transitive, to avoid potential CVEs
force(
libs.parsson,
libs.json.path,
libs.guava,
libs.protobuf.java,
libs.protobuf.java.util,
libs.akka.actor,
libs.commons.compress,
libs.commons.io,
)
}
exclude(group = "org.threeten", module = "threetenbp")
}