Gradle + Robolectric for command-line and IDE.