From d9834858eef6de5b912bb4f0a94bd4b09faa3f04 Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 25 Dec 2020 11:51:52 +0800 Subject: fix NoClassDefFoundError when run .jar in real environment --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index adcfe23..0a43752 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,8 @@ group = project.maven_group dependencies { implementation 'junit:junit:4.12' - compile 'org.mongodb:mongo-java-driver:3.12.7' + implementation 'org.mongodb:mongo-java-driver:3.12.7' + include 'org.mongodb:mongo-java-driver:3.12.7' // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" -- cgit v1.2.3