Avoid Gradle compiler warnings