= true -Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # The setting is particularly useful for tweaking memory settings. # Specifies the JVM arguments used for the daemon process. # For more details on how to configure your build environment visit # Gradle settings configured through the IDE *will override* Step 1 − Open gradle.properties and add the following code as shown below
A simple example as shown below − How to speed Gradle Build in android?
Gradle sync is automation process to download dependencies which are declare in gradle file. Gradle is automated script to build and generate apk using android studio. To optimize this process, gradle build come into the picture. So that we used commands to generate apk. Before getting info speed up gradle build, we should know that, what is gradle build.Before eclipse, we dont have any automation scripts to build java and XML code to android apk.