Gradle script fixed