To do this, itβs important to know that sbt projects have a recursive structure, so when you run sbt, you actually run the project with the project root folder in the root project.
Considering that to fix your problem you need to add typesafe-config as a library dependency and for your sbt project; To do this, add build.sbt to the project folder of your root project and specify the dependency there, as you usually did (i.e. libraryDependencies += ... ).
source share