Change Gradle process priority

Hi, we perform development on Windows machines and have the following problem. Gradle takes 100% of CPU during tests execution making it impossible to do anything else during that time.

It is ok that it uses all available processing power, since it will work faster this way, but is there a way to lower priority of the relevant Windows process? In this way Gradle still will be able to use all available resources, but will scale down in case user performs another activity in parallel.