fix(jcenter): remove jcenter (#2178)

Builds will no longer be able to resolve artifacts from JCenter after February 1st, 2022 because jcenter servers shut down

so, i remove jcenter and update react-native (since 0.65.1 they don't use jcenter)

Co-authored-by: bibazavr <lebedevki@lad24.ru>
This commit is contained in:
Kirill 2021-09-27 14:50:52 +03:00 committed by GitHub
parent cb1c3f459f
commit 283c18b379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1026 additions and 73 deletions

View File

@ -10,7 +10,6 @@ buildscript {
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
@ -20,7 +19,6 @@ buildscript {
} else {
repositories {
mavenCentral()
jcenter()
}
dependencies {
@ -60,7 +58,6 @@ android {
repositories {
mavenCentral()
jcenter()
google()
def found = false

View File

@ -3,4 +3,4 @@ ReactNativeWebView_webkitVersion=1.4.0
ReactNativeWebView_compileSdkVersion=29
ReactNativeWebView_buildToolsVersion=29.0.3
ReactNativeWebView_targetSdkVersion=28
ReactNativeWebView_minSdkVersion=16
ReactNativeWebView_minSdkVersion=21

View File

@ -3,13 +3,13 @@
buildscript {
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 16
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 28
}
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:3.5.2")
@ -21,6 +21,7 @@ buildscript {
allprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
@ -32,7 +33,6 @@ allprojects {
}
google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}

View File

@ -30,7 +30,7 @@
"type": "Component"
},
"peerDependencies": {
"react-native": ">=0.60"
"react-native": ">=0.65.1"
},
"dependencies": {
"escape-string-regexp": "2.0.0",
@ -65,7 +65,7 @@
"metro": "0.56.4",
"metro-react-native-babel-preset": "^0.59.0",
"react": "16.11.0",
"react-native": "0.62.2",
"react-native": "0.65.1",
"react-native-macos": "0.60.0-microsoft.73",
"react-native-windows": "0.62.17",
"selenium-appium": "1.0.2",

1084
yarn.lock

File diff suppressed because it is too large Load Diff