microsoft / build-server-for-gradle

An implementation of the Build Server Protocol for Gradle
MIT License
51 stars 8 forks source link

fix: Populate test tag correctly for all sourcesets #108

Closed Arthurm1 closed 9 months ago

Arthurm1 commented 10 months ago

Currently the BSP BuildTargetTag tag is populated as Test only when the source set name is test.

All other build targets won't have this tag, which means other test configurations (e.g. integration tests) won't have the tag.

Now the code checks to see if there is a Test task associated with the source set and populates the tag from that information.

Arthurm1 commented 10 months ago

rebased

Arthurm1 commented 10 months ago

Rebased

jdneo commented 9 months ago

Thank you @Arthurm1