Skip to content

Commit

Permalink
Replace usage of jcenter in React Native build.gradle files (#21714)
Browse files Browse the repository at this point in the history
### 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
  • Loading branch information
skottmckay authored Aug 13, 2024
1 parent 3439429 commit 6af5394
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions js/react_native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.nio.file.Paths
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand Down Expand Up @@ -145,7 +145,6 @@ android {

repositories {
mavenCentral()
jcenter()
google()

def found = false
Expand Down
6 changes: 3 additions & 3 deletions js/react_native/e2e/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
}
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath('com.android.tools.build:gradle:7.1.1')
Expand All @@ -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' }
}
}

0 comments on commit 6af5394

Please sign in to comment.