Skip to content

Commit

Permalink
bukkit: Shadow packages
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Aug 3, 2020
1 parent 15a5090 commit 953e6f2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mimic-bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,16 @@ dependencies {
}

tasks.shadowJar {
relocate("co.aikar.commands", "${group}.shade.acf")
val shadePackage = "${project.group}.shade"
relocate("co.aikar", "$shadePackage.acf")
relocate("kotlin", "$shadePackage.kotlin")
relocate("org.intellij", "$shadePackage.intellij")
relocate("org.jetbrains", "$shadePackage.jetbrains")

exclude("META-INF/*.kotlin_module")
exclude("META-INF/maven/**")

minimize()
}

tasks.named("assemble") {
Expand Down

0 comments on commit 953e6f2

Please sign in to comment.