Fix Gradle sync task