diff options
author | NetheriteMiner <88792142+NetheriteMiner@users.noreply.github.com> | 2023-04-27 06:07:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 12:07:33 +0200 |
commit | 2dd1970d6d31ea1e2bbfa30b57141ea9a4720834 (patch) | |
tree | 4d5879b3eaecb851485436c3a266e3d5814d6d06 /build.gradle.kts | |
parent | d889efc0ca80458442df14500b71092008bb95b2 (diff) | |
download | skyhanni-2dd1970d6d31ea1e2bbfa30b57141ea9a4720834.tar.gz skyhanni-2dd1970d6d31ea1e2bbfa30b57141ea9a4720834.tar.bz2 skyhanni-2dd1970d6d31ea1e2bbfa30b57141ea9a4720834.zip |
Added Discord RPC (#35)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index d3f3c1b10..90703e330 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,11 +21,16 @@ 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() + maven("https://maven.notenoughupdates.org/releases") maven("https://repo.spongepowered.org/maven/") // If you don't want to log in with your real minecraft account, remove this line maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1") @@ -55,6 +60,14 @@ 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") { + 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 @@ -72,8 +85,8 @@ dependencies { implementation("com.github.hannibal002:notenoughupdates:4957f0b:all") devenvMod("com.github.hannibal002:notenoughupdates:4957f0b:all") - shadowModImpl("com.github.notenoughupdates:moulconfig:ac39e63") - devenvMod("com.github.notenoughupdates:moulconfig:ac39e63:test") + shadowModImpl("org.notenoughupdates.moulconfig:MoulConfig:1.1.0") + devenvMod("org.notenoughupdates.moulconfig:MoulConfig:1.1.0:test") shadowImpl("moe.nea:libautoupdate:1.0.3") } @@ -161,4 +174,4 @@ compileKotlin.kotlinOptions { val compileTestKotlin: KotlinCompile by tasks compileTestKotlin.kotlinOptions { jvmTarget = "1.8" -} +}
\ No newline at end of file |