Path () { String serviceDirectory = GradleSettings.getInstance(myProject).getServiceDirectoryPath(); return serviceDirectory != null ? Path.of(serviceDirectory) : new BuildLayoutParameters().getGradleUserHomeDir().toPath(); }