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
- Host: GitHub
- URL: https://github.com/xuwei-k/sbt-conflict-classes
- Owner: xuwei-k
- License: mit
- Created: 2017-08-23T14:06:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-20T08:01:56.000Z (over 1 year ago)
- Last Synced: 2025-04-17T19:17:35.540Z (over 1 year ago)
- Topics: sbt, sbt-plugin
- Language: Scala
- Homepage:
- Size: 116 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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
```