An open API service indexing awesome lists of open source software.

https://github.com/xuwei-k/sbt-conflict-classes

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

sbt sbt-plugin

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# sbt-conflict-classes: List conflict classes in classpath

## Usage

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

```scala
// 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
```