julianpeeters / sbt-avrohugger

sbt plugin for generating Scala sources for Apache Avro schemas and protocols.
Apache License 2.0
133 stars 50 forks source link

RC16 breaks `Test` config of sub-modules #71

Closed julianpeeters closed 5 years ago

julianpeeters commented 5 years ago

https://gitter.im/julianpeeters/avrohugger?at=5d3a1688cfdf7d0312e60c92

hello! We’re starting to use sbt-avrohugger. The plugin itself works great to generate scala. However, I’m running into a confusing error. If I start with a clean, tests-passing tree of our master branch, without the plugin, then I add sbt-avrohugger to plugins.sbt with no other changes, suddenly the tests in my submodule are unable to resolve any dependencies that is, literally the diff is just the addSbtPlugin and nothing else, and suddenly tests are not happy Any ideas what could be going on here? I’m using 2.0.0-RC16 if that helps happy to open a ticket too but figured I could try here first repro: sbt the-submodule/clean the-submodule/test succeeds Add addSbtPlugin line to plugins.sbt (there are multiple other plugins already there, working fine) sbt the-submodule/clean the-submodule/test fails with no dependencies seemingly able to resolve (i.e. even scalatest isn’t there, and we get value should is not a member of String for a ”foo” should “bar” in {)

Nick Aldwin @NJAldwin 14:20

julianpeeters commented 5 years ago

Fixed in 2.0.0-RC17