Find the scalac compiler for a particular version of
scala, by scanning some common directories containing
scala installations.
Arguments
- version
The
scalaversion to search for. Versions of the formmajor.minorwill be matched against thescalacinstallation with versionmajor.minor.patch; if multiple compilers are discovered the most recent one will be used.- locations
Additional locations to scan. By default, the directories
/opt/scalaand/usr/local/scalawill be scanned.