Implement Task Provider resolveTask on grunt extension (#76731)
Implement Task Provider resolveTask on grunt extension (#76731)

* Implement Task Provider resolveTask on grunt extension

* Move find grunt command code on computeTask to findGruntCommand function

* Fix set detectors and detector dispose

* Update grunt resolve task to use same definition object

Fixes #76518

Microsoft/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,joaomoreno/vscode,joaomoreno/vscode,the-ress/vscode,the-ress/vscode,hoovercj/vscode,eamodio/vscode,Microsoft/vscode,microsoft/vscode,eamodio/vscode,hoovercj/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,microsoft/vscode,joaomoreno/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,eamodio/vscode,the-ress/vscode,eamodio/vscode,the-ress/vscode,eamodio/vscode,eamodio/vscode,hoovercj/vscode,microsoft/vscode,microsoft/vscode,Krzysztof-Cieslak/vscode,joaomoreno/vscode,microsoft/vscode,hoovercj/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,Microsoft/vscode,Microsoft/vscode,Microsoft/vscode,joaomoreno/vscode,joaomoreno/vscode,eamodio/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,eamodio/vscode,eamodio/vscode,eamodio/vscode,Microsoft/vscode,the-ress/vscode,eamodio/vscode,Krzysztof-Cieslak/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,eamodio/vscode,joaomoreno/vscode,joaomoreno/vscode,joaomoreno/vscode,joaomoreno/vscode,Microsoft/vscode,microsoft/vscode,eamodio/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,Krzysztof-Cieslak/vscode,the-ress/vscode,Microsoft/vscode,Microsoft/vscode,joaomoreno/vscode,microsoft/vscode,microsoft/vscode,joaomoreno/vscode,eamodio/vscode,hoovercj/vscode,the-ress/vscode,microsoft/vscode,hoovercj/vscode,the-ress/vscode,microsoft/vscode,the-ress/vscode,Microsoft/vscode,Microsoft/vscode,hoovercj/vscode,Krzysztof-Cieslak/vscode,the-ress/vscode,the-ress/vscode,the-ress/vscode,microsoft/vscode,Microsoft/vscode,microsoft/vscode,hoovercj/vscode,microsoft/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,joaomoreno/vscode,Microsoft/vscode,hoovercj/vscode,hoovercj/vscode,microsoft/vscode,eamodio/vscode,eamodio/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,microsoft/vscode,the-ress/vscode,Microsoft/vscode,the-ress/vscode,joaomoreno/vscode,hoovercj/vscode,hoovercj/vscode,eamodio/vscode,Microsoft/vscode