更新依赖

This commit is contained in:
Xujiayao 2021-11-04 17:40:32 +08:00
parent 07e7664035
commit 12a8bd6047
3 changed files with 10 additions and 7 deletions

View file

@ -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'

View file

@ -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

View file

@ -26,6 +26,6 @@
"fabricloader": ">=0.11.6",
"fabric": "*",
"minecraft": "1.17.x",
"java": ">=16"
"java": ">=17"
}
}