Fixed compilation error in Gradle