mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-23 15:21:07 +01:00
Enable multi-dexing
This commit is contained in:
parent
99588bb6f5
commit
77ee4558e7
@ -30,6 +30,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
|
multiDexEnabled true
|
||||||
versionCode getMyVersionCode()
|
versionCode getMyVersionCode()
|
||||||
versionName "${getMyVersionName()}"
|
versionName "${getMyVersionName()}"
|
||||||
testApplicationId "de.test.antennapod"
|
testApplicationId "de.test.antennapod"
|
||||||
@ -130,6 +131,7 @@ dependencies {
|
|||||||
} else {
|
} else {
|
||||||
System.out.println("app: free build hack, skipping some dependencies")
|
System.out.println("app: free build hack, skipping some dependencies")
|
||||||
}
|
}
|
||||||
|
compile 'com.android.support:multidex:1.0.1'
|
||||||
compile "com.android.support:support-v4:$supportVersion"
|
compile "com.android.support:support-v4:$supportVersion"
|
||||||
compile "com.android.support:appcompat-v7:$supportVersion"
|
compile "com.android.support:appcompat-v7:$supportVersion"
|
||||||
compile "com.android.support:design:$supportVersion"
|
compile "com.android.support:design:$supportVersion"
|
||||||
|
@ -3,6 +3,7 @@ package de.danoeh.antennapod;
|
|||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.StrictMode;
|
import android.os.StrictMode;
|
||||||
|
import android.support.multidex.MultiDexApplication;
|
||||||
|
|
||||||
import com.joanzapata.iconify.Iconify;
|
import com.joanzapata.iconify.Iconify;
|
||||||
import com.joanzapata.iconify.fonts.FontAwesomeModule;
|
import com.joanzapata.iconify.fonts.FontAwesomeModule;
|
||||||
@ -13,7 +14,7 @@ import de.danoeh.antennapod.core.feed.EventDistributor;
|
|||||||
import de.danoeh.antennapod.spa.SPAUtil;
|
import de.danoeh.antennapod.spa.SPAUtil;
|
||||||
|
|
||||||
/** Main application class. */
|
/** Main application class. */
|
||||||
public class PodcastApp extends Application {
|
public class PodcastApp extends MultiDexApplication {
|
||||||
|
|
||||||
// make sure that ClientConfigurator executes its static code
|
// make sure that ClientConfigurator executes its static code
|
||||||
static {
|
static {
|
||||||
|
Loading…
Reference in New Issue
Block a user