Created
December 13, 2018 14:22
-
-
Save NimzyMaina/80a5068e6c998f1d1aea1d4a84a97bb1 to your computer and use it in GitHub Desktop.
This is a custom gradle modification for Ionic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext.postBuildExtras = { | |
dependencies { | |
// Multidex lib for Android v4 | |
compile 'com.android.support:multidex:1.0.3' | |
} | |
android { | |
dexOptions { | |
jumboMode true | |
javaMaxHeapSize "4g" | |
} | |
defaultConfig { | |
multiDexEnabled true | |
} | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_7 | |
targetCompatibility JavaVersion.VERSION_1_7 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to the respective name file in ionic android folder | |
org.gradle.jvmargs=-Xmx4608M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment