dependencies { implementation project(path: ":common", configuration: 'shadow') implementation project(path: ":api", configuration: 'shadow') implementation project(path: ":bukkit", configuration: 'shadow') implementation project(path: ":bungeecord", configuration: 'shadow') } shadowJar { // Relocations relocate 'redis.clients', 'me.William278.husksync.libraries.jedis' destinationDirectory.set(file("$rootDir/target/")) archiveBaseName.set('HuskSync') archiveClassifier.set('') build { dependsOn tasks.named("shadowJar") } } publishing { publications { mavenJava(MavenPublication) { groupId = 'me.William278' artifactId = 'HuskSync-plugin' version = "$project.version" artifact shadowJar } } }