itinance / itinance/react-native-sha256

Remove deprecated jcenter (gradle 9)

Open
#75 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
106
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Starting from gradle 9, jcenter is removed, see also https://github.com/gradle/gradle/issues/34504

Here is the diff to solve this:

```diff
diff --git a/node_modules/react-native-sha256/android/.project b/node_modules/react-native-sha256/android/.project
new file mode 100644
index 0000000..a54be25
--- /dev/null
+++ b/node_modules/react-native-sha256/android/.project
@@ -0,0 +1,28 @@
+
+
+ react-native-sha256
+ Project react-native-sha256 created by Buildship.
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectbuilder
+
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectnature
+
+
+
+ 1742806926025
+
+ 30
+
+ org.eclipse.core.resources.regexFilterMatcher
+ node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
+
+
+
+
diff --git a/node_modules/react-native-sha256/android/build.gradle b/node_modules/react-native-sha256/android/build.gradle
index e837bf7..d281934 100644
--- a/node_modules/react-native-sha256/android/build.gradle
+++ b/node_modules/react-native-sha256/android/build.gradle
@@ -2,7 +2,7 @@ buildscript {
if (project == rootProject) {
repositories {
google()
- jcenter()
+ mavenCentral()
}

dependencies {
@@ -54,7 +54,7 @@ repositories {
url("$rootDir/../node_modules/react-native/android")
}
google()
- jcenter()
+ mavenCentral()
}

dependencies {
```

This issue body was [partially generated by patch-package](https://github.com/ds300/patch-package/issues/296).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.