Failing build due to missing JCenter dependencies
ivstiv opened this issue · comments
The following error is caused by an outdated kotlin-toolkit dependency:
[stderr]
FAILURE:
[stderr]
Build failed with an exception.
[stderr]
* What went wrong:
[stderr]
Could not determine the dependencies of task ':app:buildReleasePreBundle'.
[stderr]
>
[stderr]
Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
[stderr]
>
[stderr]
Could not find com.shopgun.android:utils:1.0.9.
[stderr]
Searched in the following locations:
[stderr]
- http://10.4.1.4:8081/artifactory/libs-release/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- file:/home/expo/.m2/repository/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- file:/home/expo/workingdir/build/node_modules/react-native/android/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- file:/home/expo/workingdir/build/node_modules/jsc-android/dist/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- https://dl.google.com/dl/android/maven2/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- https://repo.maven.apache.org/maven2/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- https://www.jitpack.io/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
- https://plugins.gradle.org/m2/com/shopgun/android/utils/1.0.9/utils-1.0.9.pom
[stderr]
Required by:
[stderr]
project :app > project :react-native-readium > com.github.readium.kotlin-toolkit:readium-navigator:2.2.1
After a brief discussion here it looks like this project needs to get updated to version 2.3. I noticed there is an open PR #38 containing the required changes. Just checking if it has been forgotten or it will be released soon?
@ivstiv Thanks for the report. Thank MR is incomplete and awaiting changes by its author.
@ivstiv I just ran a build on android of the example
app and it worked fine. Can you list reproduction steps?
Here are mine:
git clone git@github.com:5-stones/react-native-readium.git
cd react-native-readium
yarn install
yarn bootstrap
yarn example start
yarn example android
They seem to have restored JCenter: https://status.gradle.com/incidents/7x4wqd7zv715
@ivstiv I'm going to close this issue. We are working on upgrading android to 2.3 as well, but for now this seems fixed.