Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before this change we would write the ScalaPB-generated code directly to `sourceManaged`. This works fine until another library/app writes to that directory. It seems like ScalaPB deletes all contents in its specified target directory, therefore removing any other code that might also live there. To fix this, we now write the generated code in twinagle-specific subdirectories. By doing that, ScalaPB only cleans our own directories, leaving other subdirs in the main `sourceManaged` directory alone. This change is fully backwards-compatible, no code-changes are needed. You might have to run `sbt clean` once in the target project though to prevent duplicate files.
- Loading branch information