improve addon dependency system

This commit is contained in:
dfsek
2022-04-29 23:03:18 -07:00
parent d2795bfdb6
commit 4396623420
40 changed files with 104 additions and 102 deletions

View File

@@ -11,15 +11,11 @@ repositories {
}
dependencies {
shadedApi("commons-io:commons-io:2.6")
shadedApi("com.github.Querz:NBT:6.1")
shadedApi(project(":common:addons:manifest-addon-loader"))
api("commons-io:commons-io:2.7")
api("com.github.Querz:NBT:6.1")
compileOnly(project(":common:addons:manifest-addon-loader"))
}
tasks.named<ShadowJar>("shadowJar") {
relocate("org.apache.commons", "com.dfsek.terra.addons.sponge.lib.commons")
}
tasks.named("build") {
finalizedBy(tasks.named("shadowJar"))
}