IDEA-112055 Gradle: project refresh fails with java.io.NotSerializableException: com.intellij.openapi.util.Pair