diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index efe7e17f3a..cafad86c04 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -3,7 +3,6 @@ object Versions { const val PUDDING = "0.0.3-SNAPSHOT" const val KOTLIN = "2.0.20" const val KTOR = "2.3.6" - const val JDA = "5.0.0-deviousjda-alpha.22_DEV" const val KOTLIN_SERIALIZATION = "1.6.0" const val KOTLIN_COROUTINES = "1.6.0" const val KOTLIN_LOGGING = "2.1.16" diff --git a/discord-chat-message-renderer-entities/build.gradle.kts b/discord-chat-message-renderer-entities/build.gradle.kts index 616f0e0d09..1bfbb76b1f 100644 --- a/discord-chat-message-renderer-entities/build.gradle.kts +++ b/discord-chat-message-renderer-entities/build.gradle.kts @@ -16,5 +16,5 @@ dependencies { implementation("org.jetbrains.kotlinx:kotlinx-datetime:${Versions.KOTLINX_DATE_TIME}") // Discord - implementation("com.github.LorittaBot:DeviousJDA:40ea50aea7") + implementation(libs.deviousjda) } \ No newline at end of file diff --git a/discord-chat-message-renderer-server/build.gradle.kts b/discord-chat-message-renderer-server/build.gradle.kts index 40b6420893..ba7b2e8a1f 100644 --- a/discord-chat-message-renderer-server/build.gradle.kts +++ b/discord-chat-message-renderer-server/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { implementation("com.microsoft.playwright:playwright:1.45.0") // Discord - implementation("com.github.LorittaBot:DeviousJDA:40ea50aea7") + implementation(libs.deviousjda) // Logging Stuff implementation(libs.kotlin.logging) diff --git a/loricoolcards-generator/build.gradle.kts b/loricoolcards-generator/build.gradle.kts index c2bcb40c70..d7eccae3f3 100644 --- a/loricoolcards-generator/build.gradle.kts +++ b/loricoolcards-generator/build.gradle.kts @@ -13,7 +13,7 @@ dependencies { implementation(project(":loritta-serializable-commons")) implementation(project(":pudding:client")) // Discord - implementation("com.github.LorittaBot:DeviousJDA:40ea50aea7") + implementation(libs.deviousjda) implementation("club.minnced:jda-ktx:0.12.0") // DreamStorageService implementation("net.perfectdreams.dreamstorageservice:client:2.0.2") diff --git a/loritta-bot-discord/build.gradle.kts b/loritta-bot-discord/build.gradle.kts index c493faef60..055066ebd9 100644 --- a/loritta-bot-discord/build.gradle.kts +++ b/loritta-bot-discord/build.gradle.kts @@ -32,7 +32,7 @@ dependencies { implementation("com.github.ben-manes.caffeine:caffeine:3.1.8") // Discord - implementation("com.github.LorittaBot:DeviousJDA:4235406ee9") + implementation(libs.deviousjda) implementation("club.minnced:jda-ktx:0.12.0") implementation("club.minnced:discord-webhooks:0.8.4") diff --git a/settings.gradle.kts b/settings.gradle.kts index 18d03095e4..5bbf6670fe 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -21,6 +21,8 @@ dependencyResolutionManagement { val logback = version("logback", "1.4.14") val kotlinxCoroutines = version("kotlinx-coroutines", "1.6.4") + library("deviousjda", "com.github.LorittaBot", "DeviousJDA").version("4235406ee9") + library("kotlinx-coroutines-core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").version(kotlinxCoroutines) library("kotlinx-coroutines-debug", "org.jetbrains.kotlinx", "kotlinx-coroutines-debug").version(kotlinxCoroutines)