Skip to content

Commit

Permalink
fix dependency check analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Oct 28, 2023
1 parent 49e8fed commit d2e75a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 4 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ nexus-publish = "2.0.0-rc-1"
nullaway-core = "0.10.15"
nullaway-plugin = "1.6.0"
ohc = "0.6.1"
okhttp = "4.12.0"
osgi-annotations = "1.5.1"
osgi-function = "1.2.0"
osgi-promise = "1.3.0"
Expand Down Expand Up @@ -174,6 +175,7 @@ nexus-publish = { module = "io.github.gradle-nexus:publish-plugin", version.ref
nullaway-core = { module = "com.uber.nullaway:nullaway", version.ref = "nullaway-core" }
nullaway-plugin = { module = "net.ltgt.gradle:gradle-nullaway-plugin", version.ref = "nullaway-plugin" }
ohc = { module = "org.caffinitas.ohc:ohc-core-j8", version.ref = "ohc" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
osgi-annotations = { module = "org.osgi:org.osgi.service.component.annotations", version.ref = "osgi-annotations" }
osgi-function = { module = "org.osgi:org.osgi.util.function", version.ref = "osgi-function" }
osgi-promise = { module = "org.osgi:org.osgi.util.promise", version.ref = "osgi-promise" }
Expand Down Expand Up @@ -208,8 +210,8 @@ zstd = { module = "com.github.luben:zstd-jni", version.ref = "zstd" }

[bundles]
coherence = ["coherence-core", "json-bind"]
constraints = ["bcel", "bouncycastle", "commons-text", "httpclient",
"jcommander", "jgit", "jsoup", "protobuf", "snakeyaml" ]
constraints = ["bcel", "bouncycastle", "commons-text", "guava", "httpclient",
"jcommander", "jgit", "jsoup", "okhttp", "protobuf", "snakeyaml" ]
errorprone-support = [ "errorprone-support", "errorprone-support-refaster" ]
jmh = ["jmh-core", "jmh-plugin", "jmh-report"]
junit = ["junit4", "junit5"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/** Java microbenchmark harness: https://github.com/melix/jmh-gradle-plugin */
import org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
import org.gradle.plugins.ide.eclipse.model.Classpath
import org.gradle.plugins.ide.eclipse.model.Library
import me.champeau.jmh.JmhBytecodeGeneratorTask
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@ dependencyCheck {
scanBuildEnv = true
formats = listOf("HTML", "SARIF")
}

subprojects {
tasks.withType<Jar>().configureEach {
rootProject.tasks.dependencyCheckAggregate.get().dependsOn(this)
}
}

0 comments on commit d2e75a1

Please sign in to comment.