Skip to content

Commit

Permalink
fix(build): Fix build fail by increasing dex heap size
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jan 26, 2018
1 parent 2873b21 commit c69742a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ android {

dexOptions {
jumboMode = true
javaMaxHeapSize "4g"
}

packagingOptions {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
org.gradle.jvmargs=-Xmx4608M

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand Down

0 comments on commit c69742a

Please sign in to comment.