Skip to content

Instantly share code, notes, and snippets.

View custommonkey's full-sized avatar

Jeff Martin custommonkey

View GitHub Profile
@custommonkey
custommonkey / UnpackSchemaFiles.scala
Last active August 6, 2021 14:57
Unpack schema files
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 {