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