-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
38 lines (34 loc) · 1.33 KB
/
build.gradle.kts
File metadata and controls
38 lines (34 loc) · 1.33 KB
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
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)
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("at.yawk.lz4:lz4-java")).using(module("org.lz4:lz4-java:1.8.1"))
.because("Resolve capability conflict between org.lz4:lz4-java and at.yawk.lz4:lz4-java")
}
}
}
dependencyCheck {
format = org.owasp.dependencycheck.reporting.ReportGenerator.Format.ALL.toString()
suppressionFile = "owasp-suppressions.xml"
scanConfigurations.add("runtimeClasspath")
failBuildOnCVSS = 7.0F
analyzers.ossIndex.warnOnlyOnRemoteErrors = true
}