xuwei-k / sbt-conflict-classes   0.1.1

MIT License GitHub

show conflict classes in classpath. fork from https://github.com/todesking/sbt-conflict-classes

Scala versions: 2.12 2.10
sbt plugins: 1.x 0.13

sbt-conflict-classes: List conflict classes in classpath

Usage

// project/plugins.sbt
addSbtPlugin("com.github.xuwei-k" % "sbt-conflict-classes" % "0.1.1")
// build.sbt

enablePlugins(ConflictClassesPlugin)

// Exclude from conflict detection(match with startsWith)(Optional)
conflictClassExcludes ++= Seq(
  "com/example/DuplicateClass.class",
  "com/example/dups/"
)
$ sbt Compile/conflictClasses # show compile-time conflicts
$ sbt Test/conflictClasses    # show test-time conflicts
$ sbt Runtime/conflictClasses # show runtime conflicts