[tooling] Update all ScalaCompile tasks

Make it more readable and gets rid of IDE warnings.