Search code examples
gradlerepositorymaven-central

What is included in JCenter repository in Gradle?


Please note that JCenter will switch to readonly mode. Avoid using it. jcenter() will be removed in Gradle 8.0.


From Gradle 1.7 there is a new public repository JCenter.

repositories {
   jcenter()
}

So I want to ask if all JAR files from Maven Central are part of this repository? And if not, from what does the JCenter repository consist of? And is JCenter more reliable from Maven Central as downtime?


Solution

  • jcenter() is similar to mavenCentral(). Have a look at https://bintray.com/bintray/jcenter for more details. The JCenter guys claim that they have a better performance than Maven Central.