shifted repo to mavenCentral with exception of few selective group

remove when replacement for selective groups is available the jcenter will be accessible as read-only indefinitely so we should be good for now with these selective packages as they are not available off of jCenter
This commit is contained in:
Nouman Tahir 2021-08-18 19:41:19 +05:00
parent 060c89a028
commit db5e32e5cf

View File

@ -23,8 +23,10 @@ buildscript {
firebaseVersion = "17.3.4"
}
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath('com.android.tools.build:gradle:4.1.0')
@ -37,6 +39,7 @@ buildscript {
allprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
@ -50,9 +53,22 @@ allprojects {
maven { url 'https://maven.google.com' }
google()
jcenter()
maven { url "https://www.jitpack.io" }
// mavenCentral()
//TODO: remove when replacement for selective groups is available
//the jcenter will be accessible as read-only indefinitely so we should be
//good for now with these selective packages as they are not available off of
//jCenter
jcenter() {
content {
// these groups only available in jcenter otherwise we don't want to rely on jcenter.
includeGroup("com.facebook.yoga")
includeGroup("com.facebook.fbjni")
includeGroup("com.henninghall.android")
includeGroup("org.matomo.sdk")
}
}
}
}