Is there a simple way to specify a global dependency exclude in SBT

前端 未结 3 1936
不知归路
不知归路 2021-02-05 02:54

How would you exclude a transitive dependency globally? My project depends on a lot of the Twitter libraries or on libraries that depend on the Twitter libraries. I don\'t want

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-05 03:26

    libraryDependencies := libraryDependencies.value.map(_.exclude("groupid", "artifactname"))
    

提交回复
热议问题