-
Notifications
You must be signed in to change notification settings - Fork 476
chore(jcenter): remove usage of jcenter() #697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(jcenter): remove usage of jcenter() #697
Conversation
@tido64 said: > Unfortunately, we cannot remove JCenter without breaking people on older versions of React Native: I disagree with it and I will proof soon Refs: react-native-async-storage#610, react-native-async-storage#680, react-native-async-storage#681, react-native-async-storage#666, react-native-async-storage#611
Thanks for creating the minimal repro. It was very helpful! I had a closer look at this and you're right. Still, to make the CI go green, I think you also need to do: diff --git a/example/android/build.gradle b/example/android/build.gradle
index a03ce97..f8c2cb5 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle
@@ -53,6 +53,9 @@ allprojects {
maven {
url("$rootDir/../../node_modules/detox/Detox-android")
}
+ google()
+ mavenCentral()
+ jcenter()
}
afterEvaluate { project ->
def androidExtension = project.extensions.findByName('android') If we can get the CI green, I'll be happy to merge this. Edit: We should also remove |
sorry for gone - come deadlines for my main job :D I was try add jcenter in example/build.gradle but it's not help's:c I never work with react-native-test-app before... But it's looks like for this library dosen't matter what I add into example/build.gradle Edit: CI pass but my local build gets crash
And i don't have any idea why |
Yeah, this sounds like a caching issue. Have you tried cleaning/invalidating everything and rebuild the project? It works locally on my machine, that's why I suggested it. 😄 Thanks for making this contribution ❤️ Edit: I'm going to hold off merging this until you can verify that it builds successfully on your end as well. |
hey @Bibazavr , how does the build look like on your side? |
Thanks! |
🎉 This PR is included in version 1.15.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@tido64 said:
I disagree with it and I will proof soon:)
Refs: #610, #680, #681, #666, #611
Summary
I was read some treads in this repo and saw the wrong conclusion:c
I guess @tido64 gets error because in this repo use react-native-test-app for example
react-native-test-app dont have jcenter() into build.gradle
But old react-native project have jcenter() inside build.gradle and all works fine. Proof
with new RN all work's fine too:3
Test Plan
go to Proof and check up - all works fine:o