I need to add https://jcenter.bintray.com/ into IntelliJ IDEA. IJ should be able to find and update packages from JCenter as it does for Maven Central.
Currently when I add the URL to the list of maven repos, it complains "No repositories found".
Note: I use the internal IJ build system, there is no Maven or Gradle there (and I have my reasons not to use them)
Add jCenter repository in project's build. gradle file as shown below and sync your project: allprojects { repositories { jcenter() . . . } } On successful sync, you're now able to add any Android dependency hosted on jCenter repository.
The jcenter() method will be removed in the next major release. Packages that are hosted on JCenter will need to find an alternative repository to provide updates after March 31 2021. Many packages will likely migrate to Maven Central, but some packages may not migrate at all and some may only publish new versions.
JFrog announced in this article that JCenter would be deprecated in May of 2021.
As JCenter was very popular, this decision drove many developers to look for an alternative, and this alternative is called mavenCentral. MavenCentral is a maven library repository which is supported by gradle and Android Studio. It is even automatically used in the new Android Studio projects.
JCenter is not currently supported by IntelliJ IDEA. See this issue: https://youtrack.jetbrains.com/v2/issue/IDEA-154970
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With