dependency management - SBT custom conflict manager -
i better idea of conflicting dependencies between artifacts in organization. this, have created meta-project includes other top-level projects. identify conflicts of various transitive dependencies, idea use conflict manager.
i know can set conflict manager this
conflictmanager := conflictmanager.strict - how set strict manager
com.examplepackages, , possibly compose other more specific managers? - is possible create custom dependency managers, warn conflicts?
i thankful other ideas on solving problem.
you can with
conflictmanager := conflictmanager.strict.copy(organization = "com.example.*")you can vary (ivy) type of conflict manager, organization , module filters. see sbt source it's definition. see ivy docs on types of conflict managers
it seems can define custom ivy conflict manager setting it's name
conflictmanager("...")(see ivy docs on can write there). although don't see way combine several conflict managers: sbt provides 1 setting keyconflictmanager, sets ivy manager directly it.
Comments
Post a Comment