Use an Object with fields instead of a Map for dependency versions

This commit is contained in:
jmp 2020-12-31 22:09:31 -08:00 committed by Alexander Söderberg
parent f1e467038c
commit b848070d57
17 changed files with 59 additions and 55 deletions

View file

@ -19,8 +19,8 @@ dependencies {
implementation(project(":cloud-annotations"))
implementation(project(":cloud-minecraft-extras"))
/* Extras */
implementation("me.lucko", "commodore", versions["commodore"])
implementation("net.kyori", "adventure-platform-bukkit", versions["adventure-platform"])
implementation("me.lucko", "commodore", Versions.commodore)
implementation("net.kyori", "adventure-platform-bukkit", Versions.adventurePlatform)
/* Bukkit */
compileOnly("org.bukkit", "bukkit", "1.8.8-R0.1-SNAPSHOT")
}

View file

@ -19,7 +19,7 @@ dependencies {
implementation(project(":cloud-annotations"))
implementation(project(":cloud-minecraft-extras"))
/* Extras */
implementation("net.kyori", "adventure-platform-bungeecord", versions["adventure-platform"])
implementation("net.kyori", "adventure-platform-bungeecord", Versions.adventurePlatform)
/* Bungee*/
compileOnly("net.md-5", "bungeecord-api", "1.8-SNAPSHOT")
}

View file

@ -17,6 +17,6 @@ dependencies {
api(project(":cloud-velocity"))
api(project(":cloud-minecraft-extras"))
api(project(":cloud-annotations"))
compileOnly("com.velocitypowered:velocity-api:1.1.0")
annotationProcessor("com.velocitypowered:velocity-api:1.1.0")
compileOnly("com.velocitypowered", "velocity-api", Versions.velocityApi)
annotationProcessor("com.velocitypowered", "velocity-api", Versions.velocityApi)
}