Monday, July 27, 2020

IntelliJ - Adding SBT Dependency

In this post we will see how to quickly add a new dependency in the build.sbt file in IntelliJ.

Open the build.sbt file in IntelliJ
Add the desired dependency in the build.sbt file.

libraryDependencies += "com.databricks" %% "spark-avro" % "3.2.0"

Hit the "Load sbt changes..." button on the top right corner.



The dependency libraries will start loading.
Once everything is loaded you will see the following messages.



That's all folks.

Cheers!

No comments:

Post a Comment