Fixed MultiDex
This commit is contained in:
parent
f4ae87fffe
commit
915a659b5d
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue