How to check sbt version?

前端 未结 8 2317
星月不相逢
星月不相逢 2020-12-22 17:18

How do I check which version of sbt I\'m running?

I have the bash file set up that uses sbt-launch.jar, and it works, but

$ sbt vers         


        
8条回答
  •  被撕碎了的回忆
    2020-12-22 17:54

    You can use sbt about

    Example: 
        C:\Users\smala>sbt about
        [info] Set current project to smala (in build file:/C:/Users/smala/)
        [info] This is sbt 0.13.6
        [info] The current project is {file:/C:/Users/smala/}smala 0.1-SNAPSHOT
        [info] The current project is built against Scala 2.10.4
        [info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin,   sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin
        [info] sbt, sbt plugins, and build definitions are using Scala 2.10.4"

提交回复
热议问题