From 63eaca56833046284450bc1739fe186515dc78cb Mon Sep 17 00:00:00 2001 From: jacques Date: Fri, 28 Jan 2022 15:52:55 +0100 Subject: [PATCH] Remove deprecated dexOptions Add conditional depency for sentry.io --- app/build.gradle | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 190b9f0..971e7d3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -81,10 +81,7 @@ android { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } - dexOptions { - incremental false - javaMaxHeapSize "4g" - } + buildToolsVersion '32.0.0' allprojects { @@ -116,6 +113,6 @@ dependencies { implementation 'com.journeyapps:zxing-android-embedded:4.3.0' implementation 'androidx.core:core:1.6.0' - implementation 'io.sentry:sentry-android:5.4.0' + devImplementation 'io.sentry:sentry-android:5.4.0' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' }