Search code examples
intellij-idea

Adding Jitpack library to Intellij build system


I converting gradle to IntelliJ build system, but most library from jitpack only and "No file were downloaded for ~~" message.

What i tried steps...

  1. File -> Project Structure -> Library -> New Project Library (+ button) -> From Maven -> Add jitpack library url
  2. Close IDE and delete .idea folder
  3. Invalidate Caches (All check)
  4. Manually add download library from jitpack (but dependency library too many, so i give up)

Adding a Jitpack dependency using intellij build system error image I found this answer but not working.


Solution

  • I solved by add jitpack repository from Intellij settings.

    Settings | Build, Run, Deployment | Remote Jar Repository | Maven Jar Repository
    Click add button and add https://jitpack.io

    Now, you can use jitpack repository.