These are chat archives for sbt/sbt
A relaxed chat room about sbt (That interactive build tool). For getting help on sbt, we encourage people to document it on Stackoverflow or subscribing to Lightbend subscription.
howdy! because X (details not relevant here) the scala/scala sbt build cannot be imported into intellij, so we keep IntelliJ project definitions in the repo. i recently worked on an sbt task that keeps the dependency classpaths in the IntelliJ project definition up-to-date (scala/scala#5046), which works fine.
There's one missing piece: we have an IntelliJ module to edit the SBT build itself. On that module's classpath there's all kinds of sbt things, a list that Jason originally took from a different project's IntelliJ definitions (https://github.com/scala/scala/blob/2.12.x/src/intellij/scala-build.iml.SAMPLE#L17). My question: how can I get the list of dependencies for the sbt build itself? My idea was to
cd project and run
> show dependencyClasspath, but that doesn't include sbt itself.
I also tried
> show fullClasspath, but that gives errors, the first is:
> show fullClasspath [info] Compiling 8 Scala sources to /Users/luc/scala/scala/project/target/scala-2.10/classes... [error] /Users/luc/scala/scala/project/JarJar.scala:7: not found: object sbt [error] import sbt._ [error] ^