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 
  1. how set strict manager com.example packages, , possibly compose other more specific managers?
  2. is possible create custom dependency managers, warn conflicts?

i thankful other ideas on solving problem.

  1. 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

  2. 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 key conflictmanager , sets ivy manager directly it.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -