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

@ -1,26 +0,0 @@
val versions = mapOf(
"checker-qual" to "3.8.0",
"geantyref" to "1.3.11",
"errorprone" to "2.4.0",
"errorprone_javac" to "9+181-r4173-1",
// DISCORD DEPENDENCIES
"javacord" to "3.1.1",
"jda" to "4.2.0_209",
// MINECRAFT DEPENDENCIES
"brigadier" to "1.0.17",
"bukkit" to "1.13.2-R0.1-SNAPSHOT",
"commodore" to "1.9",
"bungeecord" to "1.8-SNAPSHOT",
"cloudburst" to "1.0.0-SNAPSHOT",
"adventure-api" to "4.3.0",
"adventure-platform" to "4.0.0-SNAPSHOT",
"paper-api" to "1.15.2-R0.1-SNAPSHOT",
"velocity-api" to "1.1.0",
"jb-annotations" to "20.1.0",
"guava" to "21.0-jre",
// IRC DEPENDENCIES
"pircbotx" to "83a4c22e80",
// TEST DEPENDENCIES
"jupiter-engine" to "5.7.0",
"jhm" to "1.25.2"
)

View file

@ -0,0 +1,30 @@
object Versions {
const val checkerQual = "3.8.0"
const val geantyref = "1.3.11"
const val errorprone = "2.4.0"
const val errorprone_javac = "9+181-r4173-1"
// DISCORD DEPENDENCIES
const val javacord = "3.1.1"
const val jda = "4.2.0_209"
// MINECRAFT DEPENDENCIES
const val brigadier = "1.0.17"
const val bukkit = "1.13.2-R0.1-SNAPSHOT"
const val commodore = "1.9"
const val bungeecord = "1.8-SNAPSHOT"
const val cloudburst = "1.0.0-SNAPSHOT"
const val adventureApi = "4.3.0"
const val adventurePlatform = "4.0.0-SNAPSHOT"
const val paperApi = "1.15.2-R0.1-SNAPSHOT"
const val velocityApi = "1.1.0"
const val jetbrainsAnnotations = "20.1.0"
const val guava = "21.0-jre"
// IRC DEPENDENCIES
const val pircbotx = "83a4c22e80"
// TEST DEPENDENCIES
const val jupiterEngine = "5.7.0"
const val jhm = "1.25.2"
}