mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
add multidex support
This commit is contained in:
parent
baf1ae2aee
commit
7dbdd163c1
2 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,8 @@ android {
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 143
|
versionCode 143
|
||||||
versionName "2.18.0"
|
versionName "2.18.0"
|
||||||
|
multiDexEnabled true
|
||||||
|
setProperty("archivesBaseName", "gallery")
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
|
@ -49,6 +51,7 @@ dependencies {
|
||||||
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.7.2'
|
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.7.2'
|
||||||
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.0'
|
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.0'
|
||||||
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
||||||
|
compile 'com.android.support:multidex:1.0.2'
|
||||||
compile 'com.google.code.gson:gson:2.8.2'
|
compile 'com.google.code.gson:gson:2.8.2'
|
||||||
compile 'it.sephiroth.android.exif:library:1.0.1'
|
compile 'it.sephiroth.android.exif:library:1.0.1'
|
||||||
compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
|
compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.simplemobiletools.gallery
|
package com.simplemobiletools.gallery
|
||||||
|
|
||||||
import android.app.Application
|
import android.support.multidex.MultiDexApplication
|
||||||
import com.github.ajalt.reprint.core.Reprint
|
import com.github.ajalt.reprint.core.Reprint
|
||||||
import com.simplemobiletools.gallery.BuildConfig.USE_LEAK_CANARY
|
import com.simplemobiletools.gallery.BuildConfig.USE_LEAK_CANARY
|
||||||
import com.simplemobiletools.gallery.extensions.config
|
import com.simplemobiletools.gallery.extensions.config
|
||||||
import com.squareup.leakcanary.LeakCanary
|
import com.squareup.leakcanary.LeakCanary
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
class App : Application() {
|
class App : MultiDexApplication() {
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
if (USE_LEAK_CANARY) {
|
if (USE_LEAK_CANARY) {
|
||||||
|
|
Loading…
Reference in a new issue