File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/main/java/fr/free/nrw/commons Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ dependencies {
121
121
implementation " androidx.preference:preference:$PREFERENCE_VERSION "
122
122
// Kotlin
123
123
implementation " androidx.preference:preference-ktx:$PREFERENCE_VERSION "
124
+
125
+ implementation " androidx.multidex:multidex:$MULTIDEX_VERSION "
124
126
}
125
127
126
128
android {
@@ -138,6 +140,8 @@ android {
138
140
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
139
141
testInstrumentationRunnerArguments clearPackageData : ' true'
140
142
143
+ multiDexEnabled true
144
+
141
145
testOptions {
142
146
execution ' ANDROIDX_TEST_ORCHESTRATOR'
143
147
}
Original file line number Diff line number Diff line change 18
18
import android .os .Process ;
19
19
import android .util .Log ;
20
20
import androidx .annotation .NonNull ;
21
+ import androidx .multidex .MultiDexApplication ;
21
22
import com .facebook .drawee .backends .pipeline .Fresco ;
22
23
import com .facebook .imagepipeline .core .ImagePipeline ;
23
24
import com .facebook .imagepipeline .core .ImagePipelineConfig ;
77
78
resCommentPrompt = R .string .crash_dialog_comment_prompt
78
79
)
79
80
80
- public class CommonsApplication extends Application {
81
+ public class CommonsApplication extends MultiDexApplication {
81
82
@ Inject SessionManager sessionManager ;
82
83
@ Inject DBOpenHelper dbOpenHelper ;
83
84
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ DAGGER_VERSION=2.21
23
23
ROOM_VERSION =2.2.3
24
24
PREFERENCE_VERSION =1.1.0
25
25
CORE_KTX_VERSION =1.2.0
26
+ MULTIDEX_VERSION =2.0.1
26
27
27
28
systemProp.http.proxyPort =0
28
29
systemProp.http.proxyHost =
You can’t perform that action at this time.
0 commit comments