From a734f2075975beb582e092d1a1279792b661ddec Mon Sep 17 00:00:00 2001 From: Csaba Ilonka Date: Wed, 7 Aug 2024 19:31:35 +0200 Subject: [PATCH] Android `dx` vs `d8` --- .github/scripts/temp-release.sh | 2 ++ rollbar-android/build.gradle | 4 ++++ rollbar-android/gradle.properties | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 rollbar-android/gradle.properties diff --git a/.github/scripts/temp-release.sh b/.github/scripts/temp-release.sh index 498b42bc..dafbfbc8 100644 --- a/.github/scripts/temp-release.sh +++ b/.github/scripts/temp-release.sh @@ -1,3 +1,5 @@ +#!/bin/bash + export GPG_KEY_LOCATION="$(realpath "$GPG_KEY_LOCATION")" echo "Doing SNAPSHOT release..." diff --git a/rollbar-android/build.gradle b/rollbar-android/build.gradle index 39f09d6b..5353124c 100644 --- a/rollbar-android/build.gradle +++ b/rollbar-android/build.gradle @@ -38,6 +38,10 @@ android { testCoverageEnabled true } } + + dexOptions { + preDexLibraries = false + } } dependencies { diff --git a/rollbar-android/gradle.properties b/rollbar-android/gradle.properties new file mode 100644 index 00000000..cfeffc79 --- /dev/null +++ b/rollbar-android/gradle.properties @@ -0,0 +1,2 @@ +android.enableD8=true +android.useDexArchive=true