Fixed MultiDex

This commit is contained in:
Nite 2020-05-29 11:23:51 +02:00
parent f4ae87fffe
commit 915a659b5d
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
2 changed files with 5 additions and 2 deletions

View File

@ -55,6 +55,9 @@ tasks.withType(Test) {
} }
dependencies { dependencies {
def multidex_version = "2.0.1"
implementation "androidx.multidex:multidex:$multidex_version"
implementation project(':core:menudrawer') implementation project(':core:menudrawer')
implementation project(':core:pulltorefresh') implementation project(':core:pulltorefresh')
implementation project(':core:library') implementation project(':core:library')
@ -65,7 +68,6 @@ dependencies {
implementation androidSupport.support implementation androidSupport.support
implementation androidSupport.design implementation androidSupport.design
implementation 'com.android.support:multidex:1.0.3'
implementation other.kotlinStdlib implementation other.kotlinStdlib
implementation other.koinAndroid implementation other.koinAndroid

View File

@ -1,6 +1,7 @@
package org.moire.ultrasonic.app package org.moire.ultrasonic.app
import android.app.Application import android.app.Application
import androidx.multidex.MultiDexApplication
import org.koin.android.ext.android.startKoin import org.koin.android.ext.android.startKoin
import org.moire.ultrasonic.di.DiProperties import org.moire.ultrasonic.di.DiProperties
import org.moire.ultrasonic.di.appPermanentStorage import org.moire.ultrasonic.di.appPermanentStorage
@ -9,7 +10,7 @@ import org.moire.ultrasonic.di.directoriesModule
import org.moire.ultrasonic.di.featureFlagsModule import org.moire.ultrasonic.di.featureFlagsModule
import org.moire.ultrasonic.di.musicServiceModule import org.moire.ultrasonic.di.musicServiceModule
class UApp : Application() { class UApp : MultiDexApplication() {
override fun onCreate() { override fun onCreate() {
super.onCreate() super.onCreate()