scalaplayframeworktypesafe-activator

How to find out which Play version I'm using?


Kinda silly question, but I used Activator to get started with the play framework, and now need to see what version I'm using. 2.3 came out with support for docker, but when I put

dockerExposedPorts in Docker := Seq(9000, 9443)

in my build.sbt, it complains it doesn't know what dockerExposedPorts is, so I'm thinking I might be running 2.2.


Solution

  • Type playVersion within the activator console.

    Alternatively you can look in project/plugins.sbt for the line

    addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.2")
    

    In this example, the play version is 2.3.2