You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HuskSync/plugin/build.gradle

32 lines
896 B
Groovy

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')
implementation project(path: ":velocity", 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
}
}
}