Template: Fix android gradle opts.

This commit is contained in:
Dmitry Voronin 2024-12-31 20:09:43 +03:00
parent eec67e51c6
commit 3238a48d41
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -56,7 +56,7 @@
buildInputs = with pkgs; [ ]; buildInputs = with pkgs; [ ];
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/"; ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride = ${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2"; GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
JAVA_HOME = "${jdk}"; JAVA_HOME = "${jdk}";
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}"; LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
SOURCE_DATE_EPOCH = "${toString self.lastModified}"; SOURCE_DATE_EPOCH = "${toString self.lastModified}";