Fix compile project/file actions for scala.
Fix compile project/file actions for scala.

Rather than including all of intellij-resolve in intellij-compile,
calculate compilation artifacts for each custom language we support
(as we already need to do for the other output groups).

PiperOrigin-RevId: 156466315

davidzchen/bazel,twitter-forks/bazel,bazelbuild/bazel,akira-baruah/bazel,aehlig/bazel,ulfjack/bazel,juhalindfors/bazel-patches,dslomov/bazel-windows,cushon/bazel,ulfjack/bazel,safarmer/bazel,ButterflyNetwork/bazel,juhalindfors/bazel-patches,safarmer/bazel,damienmg/bazel,meteorcloudy/bazel,bazelbuild/bazel,dropbox/bazel,safarmer/bazel,aehlig/bazel,bazelbuild/bazel,ulfjack/bazel,dslomov/bazel,aehlig/bazel,werkt/bazel,variac/bazel,perezd/bazel,twitter-forks/bazel,perezd/bazel,katre/bazel,werkt/bazel,variac/bazel,twitter-forks/bazel,variac/bazel,damienmg/bazel,spxtr/bazel,dslomov/bazel,bazelbuild/bazel,akira-baruah/bazel,perezd/bazel,juhalindfors/bazel-patches,safarmer/bazel,akira-baruah/bazel,variac/bazel,dslomov/bazel,dropbox/bazel,ButterflyNetwork/bazel,snnn/bazel,snnn/bazel,davidzchen/bazel,juhalindfors/bazel-patches,katre/bazel,meteorcloudy/bazel,dslomov/bazel-windows,snnn/bazel,werkt/bazel,damienmg/bazel,damienmg/bazel,snnn/bazel,spxtr/bazel,dslomov/bazel,snnn/bazel,dslomov/bazel-windows,davidzchen/bazel,dslomov/bazel-windows,ulfjack/bazel,twitter-forks/bazel,snnn/bazel,perezd/bazel,variac/bazel,variac/bazel,davidzchen/bazel,cushon/bazel,aehlig/bazel,juhalindfors/bazel-patches,aehlig/bazel,meteorcloudy/bazel,snnn/bazel,katre/bazel,cushon/bazel,dslomov/bazel-windows,damienmg/bazel,dslomov/bazel,katre/bazel,davidzchen/bazel,meteorcloudy/bazel,twitter-forks/bazel,safarmer/bazel,variac/bazel,meteorcloudy/bazel,spxtr/bazel,werkt/bazel,dropbox/bazel,spxtr/bazel,spxtr/bazel,cushon/bazel,perezd/bazel,dropbox/bazel,damienmg/bazel,ulfjack/bazel,meteorcloudy/bazel,bazelbuild/bazel,dslomov/bazel,ulfjack/bazel,meteorcloudy/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,juhalindfors/bazel-patches,ButterflyNetwork/bazel,dslomov/bazel-windows,aehlig/bazel,spxtr/bazel,juhalindfors/bazel-patches,davidzchen/bazel,davidzchen/bazel,werkt/bazel,safarmer/bazel,akira-baruah/bazel,cushon/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,dslomov/bazel,damienmg/bazel,dropbox/bazel,perezd/bazel,bazelbuild/bazel,cushon/bazel,spxtr/bazel,katre/bazel,perezd/bazel,katre/bazel,twitter-forks/bazel,werkt/bazel,ButterflyNetwork/bazel,aehlig/bazel,ulfjack/bazel,dropbox/bazel,twitter-forks/bazel