Skip to content

Gradle not finding the project #17

Open

Description

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 :

Activity

  1. Sanduhr32 commented on Sep 15, 2019

    @Sanduhr32

    What repositories do you have in gradle?

  2. jagrosh commented on Sep 16, 2019

    @jagrosh
    Owner

    It looks like you forgot to add jcenter to the repositories section:

    repositories {
        jcenter()
    }
  3. lukeacat commented on Feb 14, 2021

    @lukeacat

    Same issue here

    build.gradle: https://pastebin.com/g3yNJeUw
    Error: Could not resolve: com.jagrosh:DiscordIPC:0.4

  4. crykn commented on Feb 16, 2021

    @crykn

    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?

  5. lukeacat commented on Feb 16, 2021

    @lukeacat

    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.

  6. jansanti commented on Apr 26, 2022

    @jansanti

    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.

  7. jagrosh commented on Apr 26, 2022

    @jagrosh
    Owner

    You can use jitpack

  8. jansanti commented on Apr 26, 2022

    @jansanti

    Ah thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions