From 747f5bf7cd9b1d53468f7d4a5c6bb9cd84c8544a Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 27 Apr 2023 15:33:05 +0200 Subject: Fixed DiscordIPC not working outside dev environment --- build.gradle.kts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'build.gradle.kts') 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 } -- cgit