Build.sbt: Cannot resolve symbol inThisBuild

this is my build.sbt snippet:

lazy val root = (project in file(".")).
  enablePlugins(ScalaxbPlugin).
  settings(inThisBuild(List(
   organization  := "com.example",
   scalaVersion  := "2.11.8"
)))

      

This leads to:

cannot resolve this symbol in ThisBuild

I am using sbt 0.13.5 which inThisBuild must support, see http://www.scala-sbt.org/0.13/docs/Scopes.html#Build-wide+settings

+3


source to share


1 answer


inThisBuild

is a feature added in sbt 0.13.9



To use it, update your project to at least 0.13.9 or better, the latest version (0.13.15 from this answer).

+6


source







All Articles