Skip to content

feat: Resolve custom task#1035

Merged
CsCherrYY merged 1 commit intomainfrom
cs-issue995
Nov 19, 2021
Merged

feat: Resolve custom task#1035
CsCherrYY merged 1 commit intomainfrom
cs-issue995

Conversation

@CsCherrYY
Copy link
Collaborator

@CsCherrYY CsCherrYY commented Oct 18, 2021

fix #995

customtask

This PR separates create and resolve process of vscode tasks, in the resolving process, we can resolve ${} variables by passing them to CustomExecution.

@CsCherrYY CsCherrYY added the enhancement New feature or request label Oct 18, 2021
@CsCherrYY CsCherrYY added this to the 3.8.1 milestone Oct 18, 2021
@CsCherrYY CsCherrYY modified the milestones: 3.8.1, 3.8.2 Oct 21, 2021
return task;
}

export function resolveTaskFromDefinition(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here just copy the main logics from createTaskFromDefinition and use CustomExecution to resolve the VSCode variables

@CsCherrYY CsCherrYY merged commit 2321489 into main Nov 19, 2021
@CsCherrYY CsCherrYY deleted the cs-issue995 branch November 19, 2021 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting "There is not task provider registered for tasks of type gradle"

2 participants