I'm trying to follow the steps listed here
https://www.scala-sbt.org/1.x/docs/Plugins.html#Using+a+library+in+a+build+definition+example
so I have project/plugins.sbt, (I changed this line b/c the original line wasn't installing due to prob the scala version mismatch)
// my line
libraryDependencies += "org.clapper" % "grizzled-scala_2.8.1" % "1.0.4"
// original line
libraryDependencies += "org.clapper" %% "grizzled-scala" % "1.0.4"
So now when I open my SBt, it appears to have pulled in the correct lib, but when I run sbt plugins, nothing shows up pertaining to Grizzled.
so When I eventually try to run sbt > eval grizzled.sys.os
I run into this problem:
I'm running 2.13.latest in the host project, What am I missing?

In sbt you have:
In
build.sbtyou are going to declare the definition of your project (or multiple projects). You can set different attributes of your project such as the scala version, name of the project, authors, license, etc. Also you can define all the libraries that are required to build the project you define.Let's say that we want to create a project named
hello-sbt, organization nameHello LLC, scala version2.13.11and scalatest as one of the dependency libraries. Ourbuild.sbtshould look likeDoing this, will allow us to put some scala files in
src/main/scalaand also execute them with the commandsbt run(mean while there is a main method or the App trait is bein mixed). Also we will be able to execute the commandsbt testbecause we are using a testing library (in this casescalatest) that will execute all the test we put insrc/test/scala.Lets say that now we want to add an sbt plugin to our project, for example wartremover (it is a flexible Scala code linting tool). To install it, we only need to create a file named
plugins.sbtinside the directoryprojectand only add the following lineJust doing that we can use it in our
build.sbtas it is detailed in the doc that explain how to install and setup.In the case of grizzled-scala, it's not a sbt plugin, it's a library. If we want to have that library available to be used in our build definition, adding as a dependency library of our project like this
will let us use the library as a dependency of the project, but not in the build definition. To use the library in the build definition file, you have to add it as a dependency but in the
project/plugins.sbtfile. Following the previous example I gave, the file with grizzled addded as dependency should look likeOnce this is done, you can use the library in your
build.sbt. For example, we can Define a new Task namedprintOperativeSystemthat prints the name of the operative system that we are using. Now ourbuild.sbtwill look likeWith this, we have a new task
printOperativeSystemthat we can execute from the command lineOr you can try to run
eval grizzled.sys.osas it is showed in the docs you are followingAs a side note, I used grizzled-scala
4.10.0because1.0.4is only released for scala2.8.0and2.8.1. I think that could be the root cause of your problem. Also the error message you are receiving suggest to check version conflict. Remember that sbt is built on top ofscala 2.12