From f5e10ee4a05837dc08fbc29c35cfd26bb4cd10ba Mon Sep 17 00:00:00 2001
From: Andrew Byrd <andrew@fastmail.net>
Date: Wed, 2 Oct 2024 12:30:02 -0400
Subject: [PATCH] update to latest mongodb legacy java driver

This is the newest driver, but with an older programming API that
matches our code. It should be a drop-in replacement, and Mongojack
also seems to pick this up as its transitive mongodb driver dependency.
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index d93f0e90b..6452a06dc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -164,7 +164,7 @@ dependencies {
     }
 
     // Database driver.
-    implementation 'org.mongodb:mongo-java-driver:3.11.0'
+    implementation 'org.mongodb:mongodb-driver-legacy:5.2.0'
 
     // Legacy system for storing Java objects, this functionality is now provided by the MongoDB driver itself.
     implementation 'org.mongojack:mongojack:2.10.1'