Selectively excluding dependency in SBT

libraryDependencies ++= Seq(
"com" % "libA" % "1.0.0",
"com" % "libC" % "1.0.0" exclude("com", "libB")
// an example from SBT website libraryDependencies +=
"log4j" % "log4j" % "1.2.15" exclude("javax.jms", "jms")

Code experiments and learning

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Aww New Tab on ProductHunt

SOLID Principles of Object Oriented Design in GoLang (Part-1)

Rustc is not allowed to be used in Android 10 build system

Builder Design Pattern : A most important and simple design pattern

Improving performance in Spark jobs

Light painting photos :

Arrays In Python

IF-Else Statement and Ternary Operator Dart

Pollen Testnet v0.3.2 Release Notes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Deepak Kumar

Deepak Kumar

Code experiments and learning

More from Medium

Go To: good at a low level, generally bad at a high level

Partitions → Interviewbit Arrays Problem

A Philosophy of Testing 5: The Case for 100%

Sending email through scala using JAVA mail API ( For Gmail )