Fix lint warning and update Gradle