# How to add a 3rd party library dependency?
Add the library dependency to custom.sbt
For example to add a dependency on Scala POI Wrapper for the spreadsheet generation in Excel in the lottery project:
open lottery/custom.sbt file
add the below line:
libraryDependencies in ThisBuild += "com.norbitltd" %% "spoiwo" % "1.3.2"Inside sbt shell, run command
reload[Lottery] $ reload