mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-22 11:55:54 +01:00
Rollback to slf4j-api v1
This commit is contained in:
parent
791abc7888
commit
751ab29c36
@ -12,8 +12,11 @@ dependencies {
|
|||||||
api(libs.jda) {
|
api(libs.jda) {
|
||||||
// We don't use audio
|
// We don't use audio
|
||||||
exclude module: 'opus-java'
|
exclude module: 'opus-java'
|
||||||
|
// v2
|
||||||
|
exclude module: 'slf4j-api'
|
||||||
}
|
}
|
||||||
api(libs.okhttp)
|
api(libs.okhttp)
|
||||||
|
api(libs.slf4j.api)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Relocations are in buildscript/api.gradle
|
// Relocations are in buildscript/api.gradle
|
||||||
|
@ -4,7 +4,10 @@ java {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Platform
|
// Platform
|
||||||
compileOnly(libs.paperapi)
|
compileOnly(libs.paperapi) {
|
||||||
|
// v2
|
||||||
|
exclude module: 'slf4j-api'
|
||||||
|
}
|
||||||
|
|
||||||
// Adventure (runtime downloaded by :bukkit)
|
// Adventure (runtime downloaded by :bukkit)
|
||||||
compileOnly(libs.adventure.platform.bukkit)
|
compileOnly(libs.adventure.platform.bukkit)
|
||||||
|
@ -116,7 +116,10 @@ dependencyResolutionManagement {
|
|||||||
library('essentialsx', 'net.essentialsx', 'EssentialsX').version('2.20.1')
|
library('essentialsx', 'net.essentialsx', 'EssentialsX').version('2.20.1')
|
||||||
|
|
||||||
// Logging
|
// Logging
|
||||||
library('slf4j-api', 'org.slf4j', 'slf4j-api').version('1.7.36')
|
library('slf4j-api', 'org.slf4j', 'slf4j-api').version {
|
||||||
|
prefer '1.7.36'
|
||||||
|
reject '[2,)' // Uses ServiceLoader
|
||||||
|
}
|
||||||
library('log4j-core', 'org.apache.logging.log4j', 'log4j-core').version('2.0-beta9')
|
library('log4j-core', 'org.apache.logging.log4j', 'log4j-core').version('2.0-beta9')
|
||||||
|
|
||||||
// Adventure
|
// Adventure
|
||||||
|
@ -43,9 +43,14 @@ dependencies {
|
|||||||
implementation project(':common')
|
implementation project(':common')
|
||||||
|
|
||||||
// Platform
|
// Platform
|
||||||
annotationProcessor(libs.velocity)
|
annotationProcessor(libs.velocity) {
|
||||||
|
// v2
|
||||||
|
exclude module: 'slf4j-api'
|
||||||
|
}
|
||||||
compileOnly(libs.velocity) {
|
compileOnly(libs.velocity) {
|
||||||
exclude module: 'caffeine'
|
exclude module: 'caffeine'
|
||||||
|
// v2
|
||||||
|
exclude module: 'slf4j-api'
|
||||||
}
|
}
|
||||||
|
|
||||||
// DependencyDownload
|
// DependencyDownload
|
||||||
@ -54,6 +59,6 @@ dependencies {
|
|||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
runVelocity {
|
runVelocity {
|
||||||
velocityVersion("3.1.2-SNAPSHOT")
|
velocityVersion(libs.velocity.get().version)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user