"Trying" and failing to build Spongeforge for FTB ultimate reloaded

Stack trace is useless, that’s just showing which part of Gradle caused the error. You already know which part of Gradle caused the error, it’s the test suite.

That would probably be where to look. Meanwhile,

FTB Ultimate is a big name modpack. Sponge is the only way to get server plugins. Ergo, six thousand people already had your exact problem. Here’s one of them.