Skip to content

Commit

Permalink
Upgrade SDK and tools
Browse files Browse the repository at this point in the history
  • Loading branch information
thyrlian committed Sep 22, 2023
1 parent 36876a0 commit 00eb367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android-sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN dpkg --add-architecture i386 && \

# download and install Gradle
# https://services.gradle.org/distributions/
ARG GRADLE_VERSION=8.1.1
ARG GRADLE_VERSION=8.3
ARG GRADLE_DIST=bin
RUN cd /opt && \
wget -q https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-${GRADLE_DIST}.zip && \
Expand All @@ -34,15 +34,15 @@ RUN cd /opt && \

# download and install Kotlin compiler
# https://github.com/JetBrains/kotlin/releases/latest
ARG KOTLIN_VERSION=1.8.21
ARG KOTLIN_VERSION=1.9.10
RUN cd /opt && \
wget -q https://github.com/JetBrains/kotlin/releases/download/v${KOTLIN_VERSION}/kotlin-compiler-${KOTLIN_VERSION}.zip && \
unzip *kotlin*.zip && \
rm *kotlin*.zip

# download and install Android SDK
# https://developer.android.com/studio#command-line-tools-only
ARG ANDROID_SDK_VERSION=9477386
ARG ANDROID_SDK_VERSION=10406996
ENV ANDROID_HOME /opt/android-sdk
RUN mkdir -p ${ANDROID_HOME}/cmdline-tools && \
wget -q https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_VERSION}_latest.zip && \
Expand Down

0 comments on commit 00eb367

Please sign in to comment.