From 68b1366e03153492cd9abfde1a00d01b973d4c0d Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Fri, 16 Sep 2022 08:43:23 +0200 Subject: [PATCH] Use JDA forum branch --- build.gradle.kts | 3 ++- settings.gradle.kts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c985d92..dfa16ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -58,7 +58,8 @@ tasks { dependencies { // JDA - implementation("net.dv8tion:JDA:5.0.0-alpha.19") { +// implementation("net.dv8tion:JDA:5.0.0-alpha.19") { + implementation("com.github.DV8FromTheWorld:JDA:1f9c577") { exclude("opus-java") // exclude audio } // MySQL diff --git a/settings.gradle.kts b/settings.gradle.kts index 6fb6767..d6d98f5 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -10,6 +10,8 @@ dependencyResolutionManagement { maven("https://repo.spongepowered.org/maven") // MySQL maven("https://jcenter.bintray.com") + //jitpack + maven("https://jitpack.io") } repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) }