Handy Gradle Commands
by Aditya Kapre Shrewsbury Masssachussets Boston
To remove gradle cache
rm -rf ~/.gradle/caches/ OR rm -rf ~/.gradle/ Gradle build
Go to project root dir and execute following ./gradlew clean build Gradle Run Task
./gradlew {task_name} Gradle Java Heap error fix when running build
Put following in gradle.properties org.gradle.jvmargs=-XX:MaxHeapSize=512m -Xmx512m Kill gradle threads
pkill -f '.*GradleDaemon.*'
Comments
Post a Comment