Skip to content

Commit 6c9c51e

Browse files
authored
Fix scalac warning (#1666)
`[Warn] : While parsing annotations in .../mongo-java-driver/driver-core/build/libs/mongodb-driver-core-5.5.0-SNAPSHOT.jar(com/mongodb/lang/Nullable.class), could not find MAYBE in enum <none>. This is likely due to an implementation restriction: an annotation argument cannot refer to a member of the annotated class (scala/bug#7014).`
1 parent e1eb156 commit 6c9c51e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver-scala/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ val scalaVersion: String = project.scalaVersion()
2626
dependencies {
2727
api(project(path = ":bson-scala", configuration = "default"))
2828
api(project(path = ":driver-reactive-streams", configuration = "default"))
29+
compileOnly(libs.findbugs.jsr)
2930

3031
testImplementation(project(path = ":driver-sync", configuration = "default"))
3132
testImplementation(project(path = ":bson", configuration = "testArtifacts"))

0 commit comments

Comments
 (0)