Skip to content

Commit

Permalink
Force NDK version for reproducible build
Browse files Browse the repository at this point in the history
This reverts commit 9d28eff.
  • Loading branch information
valldrac committed Apr 21, 2020
1 parent e4bef28 commit 30da38f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENV ANDROID_API_LEVELS android-28
ENV ANDROID_BUILD_TOOLS_VERSION 28.0.3
ENV ANDROID_SDK_DIST sdk-tools-linux-4333796.zip
ENV ANDROID_SDK_SHA256 92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9
ENV ANDROID_NDK_VERSION 21.0.6113669

ENV ANDROID_HOME /opt/android-sdk-linux

Expand All @@ -21,6 +22,7 @@ RUN sdkmanager \
"platform-tools" \
"build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \
"platforms;${ANDROID_API_LEVELS}" \
"ndk;${ANDROID_NDK_VERSION}" \
"extras;google;m2repository" \
"extras;android;m2repository"

Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ android {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
}

ndkVersion "21.1.6352462"
ndkVersion "21.0.6113669"

resConfigs autoResConfig()

Expand Down

0 comments on commit 30da38f

Please sign in to comment.