一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
48 行
1.8 KiB
Diff
48 行
1.8 KiB
Diff
# Fixes the following error:
|
|
# A problem occurred evaluating project ':react-native-rsa-native'.
|
|
# > Could not find method jcenter() for arguments [] on repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.
|
|
#
|
|
# See https://github.com/amitaymolko/react-native-rsa-native/issues/175
|
|
diff --git a/android/bin/build.gradle b/android/bin/build.gradle
|
|
index b5f54a631f4bed61973c77c2a6b27c5df0b26d17..28f38ca5966097f798f3f3607ded55dd4fe9b6d1 100644
|
|
--- a/android/bin/build.gradle
|
|
+++ b/android/bin/build.gradle
|
|
@@ -1,7 +1,6 @@
|
|
buildscript {
|
|
repositories {
|
|
maven { url "https://maven.google.com" }
|
|
- jcenter()
|
|
google()
|
|
maven {
|
|
url 'https://maven.google.com/'
|
|
@@ -41,7 +40,7 @@ allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
maven { url "https://maven.google.com" }
|
|
- jcenter()
|
|
+ mavenCentral()
|
|
google()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
diff --git a/android/build.gradle b/android/build.gradle
|
|
index 82f60d3d862258e50023076b0db6e792bd2a2503..9e4606903f2dcf4ee7bb49dc878a080023ed314c 100644
|
|
--- a/android/build.gradle
|
|
+++ b/android/build.gradle
|
|
@@ -9,7 +9,6 @@ buildscript {
|
|
if (project == rootProject) {
|
|
repositories {
|
|
google()
|
|
- jcenter()
|
|
maven {
|
|
url "https://maven.fabric.io/public"
|
|
}
|
|
@@ -45,7 +44,7 @@ allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
google()
|
|
- jcenter()
|
|
+ mavenCentral()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url "$rootDir/../node_modules/react-native/android"
|