Skip to content

Commit

Permalink
disable obsolete multidex
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Jun 20, 2020
1 parent 121b886 commit f81b27b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
minSdkVersion 15
targetSdkVersion 29
versionCode 270
versionName '2.1.0'
multiDexEnabled true
versionName '2.1.1'
multiDexEnabled false
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down Expand Up @@ -71,8 +71,6 @@ dependencies {
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation "androidx.work:work-runtime-ktx:2.3.4"
implementation 'org.osmdroid:osmdroid-android:6.1.6'
implementation 'com.android.support:multidex:1.0.3'
implementation 'androidx.multidex:multidex:2.0.1'

// Dagger2
implementation "com.google.dagger:dagger:$dagger_version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.blitzortung.android.app

import androidx.multidex.MultiDexApplication
import android.app.Application
import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector
import dagger.android.HasAndroidInjector
Expand All @@ -9,7 +9,7 @@ import org.blitzortung.android.dagger.module.AppModule
import org.blitzortung.android.dagger.module.ServiceModule
import javax.inject.Inject

class BOApplication : MultiDexApplication(), HasAndroidInjector {
class BOApplication : Application(), HasAndroidInjector {

@set:Inject
lateinit var androidInjector: DispatchingAndroidInjector<Any>
Expand Down

0 comments on commit f81b27b

Please sign in to comment.