use shadowJar for addon packaging

This commit is contained in:
dfsek
2022-05-05 08:32:48 -07:00
parent 41e7ad35bd
commit 0c302456a2
5 changed files with 10 additions and 31 deletions
+6
View File
@@ -43,6 +43,12 @@ afterEvaluate {
configureDistribution()
}
forSubProjects(":common:addons") {
apply(plugin = "com.github.johnrengelman.shadow")
tasks.named("build") {
finalizedBy(tasks.named("shadowJar"))
}
dependencies {
"compileOnly"(project(":common:api"))
"implementation"("net.jafama", "jafama", Versions.Libraries.Internal.jafama)