BuildEnvironment (@NotNull ProjectConnection connection, @NotNull ExternalSystemTaskId taskId, @NotNull ExternalSystemTaskNotificationListener listener, @Nullable CancellationTokenSource cancellationTokenSource, @Nullable GradleExecutionSettings settings) { CancellationToken cancellationToken = cancellationTokenSource != null ? cancellationTokenSource.token() : null; return getBuildEnvironment(connection, taskId, listener, cancellationToken, settings); }