Replace usage of jcenter in React Native build.gradle files (#21714)
### Description <!-- Describe your changes. --> Replace jcenter. It's deprecated and not responding. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix CIs
This commit is contained in:
Родитель
3439429717
Коммит
6af5394bd7
|
@ -3,7 +3,7 @@ import java.nio.file.Paths
|
|||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -145,7 +145,6 @@ android {
|
|||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
google()
|
||||
|
||||
def found = false
|
||||
|
|
|
@ -10,7 +10,7 @@ buildscript {
|
|||
}
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath('com.android.tools.build:gradle:7.1.1')
|
||||
|
@ -31,13 +31,13 @@ allprojects {
|
|||
// Android JSC is installed from npm
|
||||
url("$rootDir/../node_modules/jsc-android/dist")
|
||||
}
|
||||
maven {
|
||||
maven {
|
||||
// Add Detox as a precompiled native dependency
|
||||
url("$rootDir/../node_modules/detox/Detox-android")
|
||||
}
|
||||
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'https://www.jitpack.io' }
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче