Skip to content

Commit 1ef13c1

Browse files
Merge pull request #281 from nextcloud/androidJDK11
Android: update to jdk 11, gradle 6.7.1
2 parents 94ae6b6 + 4fb339b commit 1ef13c1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

android/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
FROM debian:stretch
1+
FROM debian:buster
22

33
RUN apt-get update && apt-get install -y software-properties-common
4-
RUN apt-get install -y ruby wget libxdamage1 libgl1-mesa-glx libpulse0 locales unzip openjdk-8-jdk-headless curl qrencode git && \
4+
RUN apt-get install -y ruby wget libxdamage1 libgl1-mesa-glx libpulse0 locales unzip openjdk-11-jdk curl qrencode git && \
55
apt-get autoremove -y && apt-get autoclean && apt-get clean && \
66
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
77

88
RUN mkdir /opt/android-sdk-linux
9-
RUN cd /opt/android-sdk-linux && wget --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip && \
9+
RUN cd /opt/android-sdk-linux && wget --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip && \
1010
unzip android-sdk.zip && \
1111
rm -f android-sdk.zip
1212

1313
ENV SHELL /bin/bash
1414
ENV ANDROID_HOME=/opt/android-sdk-linux/
15-
ENV PATH=$PATH:/opt/android-sdk-linux/tools/bin/:/opt/android-sdk-linux/emulator/:/opt/android-sdk-linux/platform-tools/
15+
ENV PATH=$PATH:/opt/android-sdk-linux/cmdline-tools/bin/:/opt/android-sdk-linux/emulator/:/opt/android-sdk-linux/platform-tools/
1616

1717
RUN echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
1818
RUN locale-gen && update-locale LANG=en_US.UTF-8
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Wed Aug 21 07:03:37 CEST 2019
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
43
zipStoreBase=GRADLE_USER_HOME
54
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip

0 commit comments

Comments
 (0)