Add source encoding for Gradle Java compilation.