diff options
author | Keuin <[email protected]> | 2020-12-25 11:51:52 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2020-12-25 11:52:15 +0800 |
commit | d9834858eef6de5b912bb4f0a94bd4b09faa3f04 (patch) | |
tree | 6e7c2364c99d685da957c404bf5cb877ff97e40b /build.gradle | |
parent | 539275fec738d186f57beaafc97619945763fe33 (diff) |
fix NoClassDefFoundError when run .jar in real environment
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 3 |
1 files changed, 2 insertions, 1 deletions
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}" |