BuildEnvironment (ProjectResolverContext projectResolverContext) { CancellationTokenSource cancellationTokenSource = projectResolverContext.getCancellationTokenSource(); CancellationToken cancellationToken = cancellationTokenSource != null ? cancellationTokenSource.token() : null; return getBuildEnvironment(projectResolverContext.getConnection(), projectResolverContext.getExternalSystemTaskId(), projectResolverContext.getListener(), cancellationToken, projectResolverContext.getSettings()); }