This was far more difficult to find than I would’ve liked.
Continuing the discussion from Gradle cannot infer scala class path despite the scala library being declared as a compile dependency: