These are chat archives for sbt/sbt

14th
Jul 2015
Ferdinand Svehla
@fsvehla
Jul 14 2015 15:51
Can I get a collection of warnings that occurred during Scala compilation? Searching StackOverflow / Google turned up nothing relevant. The use case is posting them as line comments in PRs.
Josh Suereth
@jsuereth
Jul 14 2015 16:24
yeah, check out "compilerReporter" key. It may not be fully exposed yet, because we've been toying with it.
We may also save them on the Analysis object returned by compileIncremental, not 100% sure
Jon Pretty
@propensive
Jul 14 2015 16:55
Is it normal to ever see Cannot cast com.typesafe.sbt.SbtPgp$ to sbt.AutoPlugin (with a stack trace) when starting SBT 0.13.8 for the first time?
Oh, I think this has something to do with this: Loading global plugins from /home/jpretty/.sbt/0.13/plugins
Josh Suereth
@jsuereth
Jul 14 2015 16:59
yeah, you have a plugin conflict, you have an old pgp plugin and new on on the classpath
Jon Pretty
@propensive
Jul 14 2015 16:59
I have a very old plugin, I think.
I've just upgraded from 0.13.0.
Josh Suereth
@jsuereth
Jul 14 2015 17:00
gotcha, bump your ~/.sbt/0.13 and the project so that it uses the autoplugin version
Jon Pretty
@propensive
Jul 14 2015 17:00
Thanks, @jsuereth - I actually just went for deleting .sbt, and it seems to be working now.