I've observed this issue for few time, my answer: intellij does not use "native gradle" like in command line. Intellij initializes gradle tasks using its init files. Init files is changed each runs -> configuraiton cache does not take a lot effect for intellij. Because of the fact, gradle test will try to configure each time a test is executed -> this task takes time