diff --git a/build.gradle b/build.gradle index 8a508246..31968989 100644 --- a/build.gradle +++ b/build.gradle @@ -159,6 +159,15 @@ jar { } } +shadowJar { + relocate('com.google', 'shadow.com.google') + relocate('com.mongodb', 'shadow.com.mongodb') { + exclude 'com.mongodb.jdbc' + exclude 'com.mongodb.jdbc.**' + } + relocate('org', 'shadow.org') +} + dependencies { implementation "org.yaml:snakeyaml:$snakeYamlVersion" api "org.mongodb:mongodb-driver-sync:$mongodbDriverVersion"