-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Attributed #112
Comments
dwijnand
added a commit
to dwijnand/sbt-buildinfo
that referenced
this issue
Feb 23, 2018
dwijnand
added a commit
to dwijnand/sbt-buildinfo
that referenced
this issue
Feb 23, 2018
I guess I do something wrong, but I still see it as In my buildInfoKeys := Seq[BuildInfoKey](
...
externalDependencyClasspath.in(Test)
...
) and then I get: case object BuildInfo {
...
/** The value is scala.collection.Seq("Attributed(/home/krikava/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.12.6.jar)", "Attributed(/home/krikava/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.6.jar)", ... */
val test_externalDependencyClasspath = scala.collection.Seq("Attributed(/home/krikava/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.12.6.jar)", "Attributed(/home/krikava/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.6.jar)", ...)
...
} |
@fikovnik what version are you using? Here's my working minimal reproduction: // build.sbt
enablePlugins(BuildInfoPlugin)
buildInfoKeys := Seq[BuildInfoKey](
externalDependencyClasspath.in(Test)
) // project/plugins.sbt
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0") # project/build.properties
sbt.version=1.2.1
|
Ah, that will be it - sorry for the confusion I was using 0.7 instead of 0.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently sbt's
Attributed
isn't handled, so it falls back totoString
.Notable because it's the type element of
Keys.Classpath
/Def.Classpath
, which is the type of a few keys.The text was updated successfully, but these errors were encountered: