I've tried that, but it's slow. Instead now I start it from IJ, it fails, I copy the command, remove gradle-api from the classpass spec and run the modified command from the command line, then it works as expected and recompiles are several times faster than when delegated to gradle.