Adjusted Travis and Gradle config