Build failure (FTBFS) due to used of closed service bintray which return 403 to requests
Building latest commit "4961273f" with Containerfile:
FROM frolvlad/alpine-glibc
RUN set -ex; \
apk update; \
apk add --no-cache \
openjdk8 \
bash \
git; \
adduser -D 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/samourai/"; \
printf "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "/home/appuser/app/sdk/licenses/android-sdk-license"; \
cd /home/appuser/app/samourai/; \
git clone https://code.samourai.io/wallet/samourai-wallet-android/; \
cd samourai-wallet-android; \
git checkout 4961273fce283ae7cfefc03f19b56ce2eb00fa3b; \
./gradlew assembleRelease
fails with:
Could not resolve com.github.magnusja:java-fs:0.1.3. Could not get resource 'https://dl.bintray.com/magnusja/maven/com/github/magnusja/java-fs/0.1.3/java-fs-0.1.3.pom'. Could not GET 'https://dl.bintray.com/magnusja/maven/com/github/magnusja/java-fs/0.1.3/java-fs-0.1.3.pom'. Received status code 403 from server: Forbidden
beacuse of below lines in build.gradle
:
maven { url 'https://dl.bintray.com/magnusja/maven' }
The bintray closed the service, all responses will return 403 instead: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/