You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to use this project with gradle, it cannot find it.
Heres the error: Could not find com.jagrosh:DiscordIPC:0.4. Searched in the following locations: - file:/Users/myuser/.gradle/caches/forge_gradle/bundeled_repo/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.pom - file:/Users/myuser/.gradle/caches/forge_gradle/bundeled_repo/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.jar - https://files.minecraftforge.net/maven/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.pom - https://files.minecraftforge.net/maven/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.jar - https://libraries.minecraft.net/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.jar - https://repo.maven.apache.org/maven2/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.pom - https://repo.maven.apache.org/maven2/com/jagrosh/DiscordIPC/0.4/DiscordIPC-0.4.jar Required by: project :
Hey @LimaBean2091 and @lukeacat! You need to add the JCenter repository to the repositories section of the build.gradle file itself (which does not yet exist in your gradle files) and not to the one inside of thebuildscript block.
On a related note: @jagrosh, since it was announced that JCenter is shutting down, are there any plans to offer this library through another repository?
Haha, I already fixed this long ago, thanks for the mention anyways! I forgot to post the sulution!
EDIT: About JCenter, I don't feel like it should be moved yet, becuase To clarify, the JCenter repository will keep serving packages for 12 months until February 1st 2022. Only the JCenter REST API and UI will be sunsetted on May 1st 2021.
and moving it right now would be kinda unproductive :P I don't know though.
Hey there! Wanted to check in on the status of this, has DiscordIPC been made available in mavenCentral()? Obviously jcenter() isn't serving packages anymore so I can't use it in my project.
Activity
Sanduhr32 commentedon Sep 15, 2019
What repositories do you have in gradle?
jagrosh commentedon Sep 16, 2019
It looks like you forgot to add jcenter to the repositories section:
repositories { jcenter() }lukeacat commentedon Feb 14, 2021
Same issue here
build.gradle: https://pastebin.com/g3yNJeUw
Error: Could not resolve: com.jagrosh:DiscordIPC:0.4
crykn commentedon Feb 16, 2021
Hey @LimaBean2091 and @lukeacat! You need to add the JCenter repository to the
repositoriessection of the build.gradle file itself (which does not yet exist in your gradle files) and not to the one inside of thebuildscriptblock.On a related note: @jagrosh, since it was announced that JCenter is shutting down, are there any plans to offer this library through another repository?
lukeacat commentedon Feb 16, 2021
Haha, I already fixed this long ago, thanks for the mention anyways! I forgot to post the sulution!
EDIT: About JCenter, I don't feel like it should be moved yet, becuase
To clarify, the JCenter repository will keep serving packages for 12 months until February 1st 2022. Only the JCenter REST API and UI will be sunsetted on May 1st 2021.and moving it right now would be kinda unproductive :P I don't know though.
jansanti commentedon Apr 26, 2022
Hey there! Wanted to check in on the status of this, has DiscordIPC been made available in
mavenCentral()? Obviouslyjcenter()isn't serving packages anymore so I can't use it in my project.jagrosh commentedon Apr 26, 2022
You can use jitpack
jansanti commentedon Apr 26, 2022
Ah thanks!