From 12a8bd60479963e31b723815d161eb606e842cd5 Mon Sep 17 00:00:00 2001 From: Xujiayao Date: Thu, 4 Nov 2021 17:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 11 +++++++---- gradle.properties | 4 ++-- src/main/resources/fabric.mod.json | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 1c47a0cb..f5dd2d8f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.10.43' + id 'fabric-loom' version '0.10.50' } sourceCompatibility = JavaVersion.VERSION_17 @@ -10,7 +10,10 @@ version = project.mod_version group = project.maven_group repositories { - jcenter() + maven { + name 'm2-dv8tion' + url 'https://m2.dv8tion.net/releases' + } maven { name = "Fabric" url = "https://maven.fabricmc.net/" @@ -26,7 +29,7 @@ dependencies { modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - include(modImplementation("net.dv8tion:JDA:+") { + include(modImplementation("net.dv8tion:JDA:4.3.0_277") { exclude module: 'opus-java' }) @@ -41,7 +44,7 @@ dependencies { include 'com.fasterxml.jackson.core:jackson-annotations:2.13.0' include 'com.fasterxml.jackson.core:jackson-core:2.13.0' include 'com.fasterxml.jackson.core:jackson-databind:2.13.0' - include 'com.google.code.gson:gson:2.8.8' + include 'com.google.code.gson:gson:2.8.9' include 'com.neovisionaries:nv-websocket-client:2.14' include 'com.squareup.okhttp3:okhttp:4.9.2' include 'com.squareup.okio:okio:2.10.0' diff --git a/gradle.properties b/gradle.properties index 34c17e6b..d5f2fb4a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,11 +4,11 @@ org.gradle.jvmargs=-Xmx4G # check these on https://fabricmc.net/use minecraft_version=1.17.1 yarn_mappings=1.17.1+build.63 -loader_version=0.12.3 +loader_version=0.12.4 # Mod Properties mod_version=1.17-1.10.5 maven_group=top.xujiayao archives_base_name=MCDiscordChat # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api -fabric_version=0.41.0+1.17 +fabric_version=0.41.3+1.17 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4f82a9ac..db2bae16 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -26,6 +26,6 @@ "fabricloader": ">=0.11.6", "fabric": "*", "minecraft": "1.17.x", - "java": ">=16" + "java": ">=17" } }