What Scala version is available in CircleCI?

What scala version is included with CircleCI?

I see the following docs:
https://circleci.com/docs/build-image-precise/#scala
https://circleci.com/docs/language-scala/

But these documents refer to specific SBT versions installed. SBT will automatically down a scala compiler but that generally takes a few minutes. Does ciricleci already have a scala version installed or does it depend on downloading it on every test run? I would like to avoid downloading Scala on every compile.

2 Likes

@mdilawari perhaps by specifying a cache directory you can save on the dependency setup time per build. Add something like the following to circle.yml:

dependencies:
  cache_directories:
    - "~/.sbt"

Please let me know if that helps!

Sounds good. Also, in Circle 2.0, custom Docker images are supported - so anyone wanting a specific version of Scala can just build it themselves.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.