The order in which avsc files are compiled depends on the underlying file
system (under OSX its is alphabetical, under some linux distros it's not).
This is an issue when you have a record type that is used in different
other types. This ensures that dependent types are compiled in the
correct order. Code adapted from https://github.com/ch4mpy/sbt-avro/blob/master/src/main/scala/com/c4soft/sbtavro/SbtAvro.scala
by Jerome Wascongne
The order in which avsc files are compiled depends on the underlying file system (under OSX its is alphabetical, under some linux distros it's not). This is an issue when you have a record type that is used in different other types. This ensures that dependent types are compiled in the correct order. Code adapted from https://github.com/ch4mpy/sbt-avro/blob/master/src/main/scala/com/c4soft/sbtavro/SbtAvro.scala by Jerome Wascongne