dependencies { implementation project(path: ":common", configuration: 'shadow') implementation project(path: ":bukkit", configuration: 'shadow') implementation project(path: ":bungeecord", configuration: 'shadow') } shadowJar { 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 } } }