From d96d4ecac8e905108295c9ed98f945b9119fa2dc Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 6 Sep 2021 20:48:23 +0800 Subject: Update dependency. Now supports Mongodb 5.x. --- build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 596eef1..ee15def 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,8 @@ version = project.mod_version group = project.maven_group repositories { + mavenCentral() + // Add repositories to retrieve artifacts from in here. // You should only use this when depending on other mods because // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. @@ -29,9 +31,9 @@ dependencies { // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // You may need to force-disable transitiveness on them. - implementation 'junit:junit:4.12' - implementation 'org.mongodb:mongo-java-driver:3.12.7' - include 'org.mongodb:mongo-java-driver:3.12.7' + implementation 'junit:junit:4.13.2' + implementation 'org.mongodb:mongodb-driver-sync:4.3.1' + implementation 'org.mongodb:bson:4.3.1' } processResources { -- cgit v1.2.3