I have a project's build.sbt which is using :
libraryDependencies ++= Seq(
"com.lerestau" % "killer-launcher" % "1.0.2",
"com.lerestau" % "menu-starter" % "1.0.0"
)
menu-starter transitively downloading "killer-launcher" % "0.0.8" and Hence getting errors in current project. Is there any way to resolve this sort of conflict. I came up with dependencyOverrides, but that works if conflict is entirely binary. That didn't work. How to resolve in SBT?
If you have JAR files (unmanaged dependencies) that you want to use in your project, simply copy them to the lib folder in the root directory of your SBT project, and SBT will find them automatically.
Try out sbt-dependency-updates sbt plugin. It has dependencyUpgrade task (experimental) to upgrade of project dependencies and plugins that can be updated.
You can use Pretty Clean to clean the all of dev tools caches including SBT. PrettyClean also cleans the SBT project's target folder.
The following should get rid of the transitive dependency of menu-starter on the older killer-launcher version:
libraryDependencies ++= Seq(
"com.lerestau" % "killer-launcher" % "1.0.2",
"com.lerestau" % "menu-starter" % "1.0.0" exclude("com.lerestau", "killer-launcher"
)
More details can be found in the documentation unfortunately there doesn't seem to be a way to link directly to the relevant section.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With