title: Automatically Rebuild Android Studio Project on Gradle Sync
body: <p>How do you run a Gradle command everytime the project syncs (though the sync button after changing Gradle files)? Specifically, I would like to run "Rebuild project" or "clean, generateSources".</p>