Build failure "Could not resolve com.github.CoboVault:bc32-java:v0.0.6-alpha"
Opened this issue · 0 comments
emanuelb commented
Building latest commit for generating apk fail with error:
Could not determine the dependencies of task ':app:compileVault_v2ReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:vault_v2ReleaseCompileClasspath'.
> Could not resolve com.github.CoboVault:bc32-java:v0.0.6-alpha.
Required by:
project :app
> Could not resolve com.github.CoboVault:bc32-java:v0.0.6-alpha.
> Could not get resource 'https://dl.bintray.com/novacrypto/BIP/com/github/CoboVault/bc32-java/v0.0.6-alpha/bc32-java-v0.0.6-alpha.pom'.
> Could not GET 'https://dl.bintray.com/novacrypto/BIP/com/github/CoboVault/bc32-java/v0.0.6-alpha/bc32-java-v0.0.6-alpha.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.github.CoboVault:bc32-java:v0.0.6-alpha.
> Could not get resource 'https://jitpack.io/com/github/CoboVault/bc32-java/v0.0.6-alpha/bc32-java-v0.0.6-alpha.pom'.
> Could not GET 'https://jitpack.io/com/github/CoboVault/bc32-java/v0.0.6-alpha/bc32-java-v0.0.6-alpha.pom'. Received status code 401 from server: Unauthorized
To reproduce run:
podman build --rm -t cobo_build_apk -f Containerfile
FROM debian:sid-slim
RUN set -ex; \
mkdir -p /usr/share/man/man1/; \
apt-get update; \
apt-get install --yes --no-install-recommends openjdk-8-jdk git wget; \
rm -rf /var/lib/apt/lists/*; \
useradd -ms /bin/bash appuser;
USER appuser
ENV ANDROID_SDK_ROOT="/home/appuser/app/sdk" \
ANDROID_HOME="/home/appuser/app/sdk"
RUN set -ex; \
mkdir -p "/home/appuser/app/sdk/licenses" "/home/appuser/app/cobo/"; \
printf "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "/home/appuser/app/sdk/licenses/android-sdk-license"; \
cd /home/appuser/app/cobo/; \
git clone --depth 1 https://github.com/CoboVault/cobo-vault-cold.git; \
cd cobo-vault-cold; \
sed -i 's/git@github.com:/https:\/\/github.com\//g' .gitmodules; \
git submodule init; \
git submodule update;
WORKDIR /home/appuser/app/cobo/cobo-vault-cold
RUN set -ex; \
./gradlew assembleVault_v2Release