diff options
author | Daniel Lublin <daniel@lublin.se> | 2020-04-13 23:40:54 +0300 |
---|---|---|
committer | Daniel Lublin <daniel@lublin.se> | 2020-04-15 00:51:13 +0300 |
commit | 214f3c21a8835eb11fdd173eaf1b9d31402b9b2d (patch) | |
tree | 3c4ef9bdc350d62a8e8948fdc5d5139d20355668 | |
parent | 663bd423c02e0e305d2a17c19c13104ca84e4328 (diff) |
Enable multidex, to squeeze in all the >64k methods
Looks like it works on SDK >= 14, so we're good. Tried first with
R8/Proguard, but it's complicated.
-rw-r--r-- | app/build.gradle | 7 | ||||
-rw-r--r-- | app/src/main/AndroidManifest.xml | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle index 702ce33..68ef2da 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -39,6 +39,7 @@ repositories { } dependencies { + implementation 'androidx.multidex:multidex:2.0.1' implementation project(":libraries:humla") implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' @@ -59,21 +60,23 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 29 + multiDexEnabled true + applicationId "se.lublin.mumla" versionCode 78 versionName "3.4.4" + setProperty("archivesBaseName", "mumla") + testInstrumentationRunner "android.test.InstrumentationTestRunner" buildConfigField "boolean", "DONATE_NAG", "false" } buildTypes { release { - minifyEnabled false if (signingFile.exists()) signingConfig signingConfigs.release } debug { - minifyEnabled false } } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index a7eff21..3816346 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -35,6 +35,7 @@ <uses-permission android:name="android.permission.BROADCAST_STICKY" /> <application + android:name="androidx.multidex.MultiDexApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" |