aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts12
1 files changed, 3 insertions, 9 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 90703e330..224036a67 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -21,12 +21,6 @@ sourceSets.main {
output.setResourcesDir(file("$buildDir/classes/java/main"))
}
-// Taken from SBA code to support Discord RPC dependency
-configurations.create("bundle")
-configurations.implementation.extendsFrom(configurations.named("bundle").get())
-
-// Dependencies:
-
repositories {
mavenCentral()
mavenLocal()
@@ -60,15 +54,15 @@ dependencies {
mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9")
forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9")
- "bundle"("com.github.ILikePlayingGames:DiscordIPC:-SNAPSHOT") {
+ // Discord RPC client
+ shadowImpl("com.github.ILikePlayingGames:DiscordIPC:-SNAPSHOT") {
exclude(module = "log4j")
because("Different version conflicts with Minecraft's Log4J")
exclude(module = "gson")
because("Different version conflicts with Minecraft's Log4j")
- } // Discord RPC client
+ }
- // If you don't want mixins, remove these lines
shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") {
isTransitive = false
}