-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle.kts
31 lines (28 loc) · 1.07 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
plugins {
alias(commonLibs.plugins.hypertrace.ciutils)
alias(commonLibs.plugins.hypertrace.codestyle) apply false
alias(commonLibs.plugins.hypertrace.publish) apply false
alias(commonLibs.plugins.owasp.dependencycheck)
}
subprojects {
group = "org.hypertrace.config.service"
pluginManager.withPlugin(rootProject.commonLibs.plugins.hypertrace.publish.get().pluginId) {
configure<org.hypertrace.gradle.publishing.HypertracePublishExtension> {
license.set(org.hypertrace.gradle.publishing.License.TRACEABLE_COMMUNITY)
}
}
pluginManager.withPlugin("java") {
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
apply(plugin = rootProject.commonLibs.plugins.hypertrace.codestyle.get().pluginId)
}
dependencyCheck {
format = org.owasp.dependencycheck.reporting.ReportGenerator.Format.ALL.toString()
suppressionFile = "owasp-suppressions.xml"
scanConfigurations.add("runtimeClasspath")
failBuildOnCVSS = 7.0F
analyzers.ossIndex.warnOnlyOnRemoteErrors = true
}