Add auto testing scripts for Gradle projects.