savulchik / sbt-avro4s

Sbt plugin for avro4s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sbt-avro4s

Sbt plugin to use avro4s to generate case classes from avro schemas

How to use

  • Add the plugin to your build, eg in project/plugins.sbt add this line:

addSbtPlugin("com.sksamuel.avro4s" % "sbt-avro4s" % "0.91.0")

  • Put your avro schemas in src/main/avro and then run:

sbt avrogen

  • The generated case classes will appear in src/main/scala

About

Sbt plugin for avro4s

License:MIT License


Languages

Language:Scala 100.0%