Skip to content
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

Build failure "Could not resolve com.github.CoboVault:bc32-java:v0.0.6-alpha" #369

Open
emanuelb opened this issue Nov 15, 2021 · 0 comments

Comments

@emanuelb
Copy link

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/[email protected]:/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant