Skip to content

Commit

Permalink
Addon dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Sep 25, 2024
1 parent a7a7354 commit f5f3725
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 22 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ object Versions {
const val snakeYml = "2.3"
const val jetBrainsAnnotations = "24.1.0"
const val junit = "5.11.0"
const val nbt = "6.1"
}
}

Expand Down Expand Up @@ -72,7 +73,6 @@ object Versions {
// }
//
object CLI {
const val nbt = "6.1"
const val logback = "1.5.8"
}
}
7 changes: 1 addition & 6 deletions common/addons/config-number-predicate/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,4 @@ version = version("1.0.0")
dependencies {
compileOnlyApi(project(":common:addons:manifest-addon-loader"))
api("com.dfsek", "paralithic", Versions.Libraries.paralithic)
}


tasks.named<ShadowJar>("shadowJar") {
relocate("com.dfsek.paralithic", "com.dfsek.terra.addons.numberpredicate.lib.paralithic")
}
}
4 changes: 2 additions & 2 deletions common/addons/manifest-addon-loader/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version = version("1.0.0")

dependencies {
api("commons-io:commons-io:2.7")
implementation("com.dfsek.tectonic:yaml:${Versions.Libraries.tectonic}")
api("commons-io", "commons-io", Versions.Libraries.Internal.apacheIO)
implementation("com.dfsek.tectonic", "yaml", Versions.Libraries.tectonic)
}

tasks.withType<Jar> {
Expand Down
8 changes: 2 additions & 6 deletions common/addons/structure-sponge-loader/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
version = version("1.0.0")

dependencies {
api("commons-io:commons-io:2.7")
api("com.github.Querz:NBT:6.1")
api("commons-io", "commons-io", Versions.Libraries.Internal.apacheIO)
api("com.github.Querz", "NBT", Versions.Libraries.Internal.nbt)
compileOnlyApi(project(":common:addons:manifest-addon-loader"))
}

tasks.named<ShadowJar>("shadowJar") {
relocate("org.apache.commons", "com.dfsek.terra.addons.sponge.lib.commons")
}
8 changes: 2 additions & 6 deletions common/addons/structure-terrascript-loader/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
version = version("1.2.0")

dependencies {
api("commons-io:commons-io:2.7")
api("commons-io", "commons-io", Versions.Libraries.Internal.apacheIO)
compileOnlyApi(project(":common:addons:manifest-addon-loader"))
}

tasks.named<ShadowJar>("shadowJar") {
relocate("org.apache.commons", "com.dfsek.terra.addons.terrascript.lib.commons")
}
}
2 changes: 1 addition & 1 deletion platforms/cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
shadedApi(project(":common:implementation:base"))

shadedApi("commons-io", "commons-io", Versions.Libraries.Internal.apacheIO)
shadedApi("com.github.Querz", "NBT", Versions.CLI.nbt)
shadedApi("com.github.Querz", "NBT", Versions.Libraries.Internal.nbt)

shadedImplementation("com.google.guava", "guava", Versions.Libraries.Internal.guava)

Expand Down

0 comments on commit f5f3725

Please sign in to comment.