Package plugins and cyclic dependencies

i’m running into a strange dilemma with package plugins. i’m trying to create a documentation plugin that depends on swift-json, because it needs JSON functionality. but i also want to use this plugin to generate documentation for swift-json itself, similar to how the DocC plugin works.

error: cyclic dependency declaration found: 
    swift-json -> swift-biome -> swift-json

any ideas?

1 Like