Gradle optimization