Skip to content

Commit

Permalink
[Dependency] Remove unnecessary multidex configuration and library
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-id committed Jul 6, 2022
1 parent 4e3c68c commit 80cd089
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
7 changes: 1 addition & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ android {
versionCode 18
versionName "1.2.7"
vectorDrawables.useSupportLibrary true
multiDexEnabled = true

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -66,11 +65,7 @@ dependencies {
implementation "androidx.gridlayout:gridlayout:1.0.0"
implementation 'com.github.chrisbanes:PhotoView:2.3.0'

def multidex_version = "2.0.1"
implementation "androidx.multidex:multidex:$multidex_version"

def work_version = "2.7.1"
implementation "androidx.work:work-runtime:$work_version"
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'com.squareup.leakcanary:plumber-android:2.9.1'

testImplementation 'junit:junit:4.13.2'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package m.co.rh.id.a_medic_log.app;

import android.app.Activity;
import android.content.Context;

import androidx.annotation.NonNull;
import androidx.multidex.MultiDex;
import androidx.work.Configuration;

import java.util.concurrent.ScheduledExecutorService;
Expand Down Expand Up @@ -36,12 +34,6 @@ public void onCreate() {
});
}

@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}

@Override
public Provider getProvider() {
return mProvider;
Expand Down

0 comments on commit 80cd089

Please sign in to comment.