diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-27 15:33:05 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-27 15:33:05 +0200 |
commit | 747f5bf7cd9b1d53468f7d4a5c6bb9cd84c8544a (patch) | |
tree | 949dd05a2ce8e7fc943ab85ef88ad2c3d03d8a15 | |
parent | ab504fffd8e0ce84ed935cc560d531d8c4465481 (diff) | |
download | skyhanni-747f5bf7cd9b1d53468f7d4a5c6bb9cd84c8544a.tar.gz skyhanni-747f5bf7cd9b1d53468f7d4a5c6bb9cd84c8544a.tar.bz2 skyhanni-747f5bf7cd9b1d53468f7d4a5c6bb9cd84c8544a.zip |
Fixed DiscordIPC not working outside dev environment
-rw-r--r-- | build.gradle.kts | 12 |
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 } |