-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.gradle.kts
45 lines (38 loc) · 1.42 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
43
44
45
plugins {
id("nebula.release") version "17.1.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("org.owasp.dependencycheck") version "10.+" apply false
id("nebula.maven-resolved-dependencies") version "18.4.0" apply false
id("org.openrewrite.build.moderne-source-available-license") version "latest.release"
}
configure<nebula.plugin.release.git.base.ReleasePluginExtension> {
defaultVersionStrategy = nebula.plugin.release.NetflixOssStrategies.SNAPSHOT(project)
}
allprojects {
apply(plugin = "org.owasp.dependencycheck")
apply(plugin = "nebula.maven-resolved-dependencies")
group = "org.openrewrite"
description = "Eliminate Tech-Debt. At build time."
configure<org.owasp.dependencycheck.gradle.extension.DependencyCheckExtension> {
analyzers.assemblyEnabled = false
failBuildOnCVSS = 9.0F
suppressionFile = "suppressions.xml"
nvd.apiKey = System.getenv("NVD_API_KEY")
}
dependencies{
modules {
module("com.google.guava:listenablefuture") {
replacedBy("com.google.guava:guava", "listenablefuture is part of guava")
}
module("com.google.collections:google-collections") {
replacedBy("com.google.guava:guava", "google-collections is part of guava")
}
}
}
}
nexusPublishing {
repositories {
sonatype()
}
}
evaluationDependsOn(":plugin")