This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt.Keys._ | |
import sbt.{Def, _} | |
/** | |
* We want to generate case classes from schema files in a jar. We download | |
* and unpack the jar into a directory for the sbt avro plugin to generate | |
* the case classes from. | |
*/ | |
trait UnpackSchemaFiles { |