Use ProjectFactory instead of GradleProjectLocator