-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): move dependency declarations to version catalogs
- Loading branch information
Showing
8 changed files
with
156 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
[metadata] | ||
format = { version = "1.1" } | ||
|
||
# Implementation-only dependencies, or dependencies that use a different version than in API | ||
# See SpongeAPI's gradle/libs.versions.toml for many dependency declarations that Sponge also uses | ||
[versions] | ||
asm = "9.6" | ||
log4j = "2.19.0" | ||
forgeAutoRenamingTool = "1.0.6" | ||
mixin = "0.8.5" | ||
modlauncher = "8.1.3" | ||
guava = "32.1.2-jre" | ||
mockito = "4.8.0" | ||
jline = "3.25.1" | ||
tinylog = "2.6.2" | ||
vineflower = "1.9.3" | ||
|
||
[libraries] | ||
# common | ||
asm = { module = "org.ow2.asm:asm", version.ref = "asm" } | ||
asm-analysis = { module = "org.ow2.asm:asm-analysis", version.ref = "asm" } | ||
asm-commons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" } | ||
asm-util = { module = "org.ow2.asm:asm-util", version.ref = "asm" } | ||
asm-tree = { module = "org.ow2.asm:asm-tree", version.ref = "asm" } | ||
grossJava9Hacks = { module = "cpw.mods:grossjava9hacks", version = "1.3.3" } | ||
joptSimple = { module = "net.sf.jopt-simple:jopt-simple", version = "5.0.4" } | ||
log4j-api = { module = "org.apache.logging.log4j:log4j-api", version.ref = "log4j" } | ||
log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j" } | ||
log4j-jpl = { module = "org.apache.logging.log4j:log4j-jpl", version.ref = "log4j" } | ||
log4j-slf4j2 = { module = "org.apache.logging.log4j:log4j-slf4j2-impl", version.ref = "log4j" } | ||
modlauncher = { module = "cpw.mods:modlauncher", version.ref = "modlauncher" } | ||
tinylog-api = { module = "org.tinylog:tinylog-api", version.ref = "tinylog" } | ||
tinylog-impl = { module = "org.tinylog:tinylog-impl", version.ref = "tinylog" } | ||
tinylog-slf4j = { module = "org.tinylog:slf4j-tinylog", version.ref = "tinylog" } | ||
|
||
# generator | ||
javaparser = { module = "com.github.javaparser:javaparser-core", version = "3.24.4" } | ||
javapoet = { module = "com.squareup:javapoet", version = "1.13.0" } | ||
|
||
# modlauncher-transformers | ||
accessWidener = { module = "net.fabricmc:access-widener", version = "2.1.0" } | ||
|
||
# Sponge | ||
adventure-serializerConfigurate4 = { module = "net.kyori:adventure-serializer-configurate4" } | ||
configurate-jackson = { module = "org.spongepowered:configurate-jackson" } | ||
db-h2 = { module = "com.h2database:h2", version = "1.4.196" } | ||
db-hikariCp = { module = "com.zaxxer:HikariCP", version = "2.6.3" } | ||
db-maria = { module = "org.mariadb.jdbc:mariadb-java-client", version = "2.0.3" } | ||
db-sqlite = { module = "org.xerial:sqlite-jdbc", version = "3.20.0" } | ||
guava = { module = "com.google.guava:guava", version.ref = "guava" } | ||
javaxInject = { module = "javax.inject:javax.inject", version = "1" } | ||
mixin = { module = "org.spongepowered:mixin", version.ref = "mixin" } | ||
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" } | ||
mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "mockito" } | ||
mockito-junitJupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" } | ||
|
||
# vanilla | ||
forgeAutoRenamingTool = { module = "net.minecraftforge:ForgeAutoRenamingTool", version.ref = "forgeAutoRenamingTool" } | ||
jline-reader = { module = "org.jline:jline-reader", version.ref = "jline" } | ||
jline-terminal = { module = "org.jline:jline-terminal", version.ref = "jline" } | ||
jline-terminalJansi = { module = "org.jline:jline-terminal-jansi", version.ref = "jline" } | ||
lmaxDisruptor = { module = "com.lmax:disruptor", version = "3.4.4" } | ||
terminalConsoleAppender = { module = "net.minecrell:terminalconsoleappender", version = "1.3.0" } | ||
|
||
# buildtime-only | ||
vineflower = { module = "org.vineflower:vineflower", version.ref = "vineflower" } | ||
|
||
[plugins] | ||
vanillaGradle = { id = "org.spongepowered.gradle.vanilla" } | ||
shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" } | ||
indra-licenserSpotless = { id = "net.kyori.indra.licenser.spotless", version = "3.1.3" } | ||
versions = { id = "com.github.ben-manes.versions", version = "0.51.0" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.