Build Gradle Component Definitions
Common Gradle Command Prompt
Command Description

./gradlew build

build project, runs both the assemble and check task

./gradlew clean build

build project complete from scratch

./gradlew clean build

build project complete from scratch

./gradlew test

Run the tests

./gradlew connectedAndroidTest

Run the instrumentation tests


Change JAVA_HOME from gradle properties

org.gradle.java.home=C:/Program Files/Java/jdk1.6.0_45
org.gradle.jvmargs =-XX:MaxPermSize=64m

Common Build Gradle Usage Functions

minifyEnabled true
/*
false: keeps unused methods instead of removing them
true: remove unused methods
*/