Scrooge has both plugins for sbt and for maven. I am not really interested in the maven plugin.
It would appear the sbt plugin has the ability to extract thrift files from a dependency artifact. See the scroogeThriftDependencies option here
However I am left very perplexed as to how this works, because I have added the sbt-plugin to a repo with only thrift files. I sort of expected the plugin to publish an artifact somehow containing both the classes compiled from the generated code and the thrift sources itself so that a library depending on it and defining it's own thrift could access the thrift in order to compile it's own thrift.
I investigated the artifacts produced by my build and found absolutely no trace of thrift files.
Anyone have an idea how this might work? Does the maven plugin publish the thrift sources but this functionality was only added to sbt on the consuming side? Have I misunderstood something else?
So this feature was never implemented in the sbt-plugin of Scrooge even if it was implemented for the maven plugin.
I issued a PR to fix this: https://github.com/twitter/scrooge/pull/153