Build class and SemanticDB files via sbt as follows.
sbt compile
Ensure that lsif-semanticdb is installed.
lsif-semanticdb --semanticdbDir target/scala-2.12/classes/META-INF/semanticdb
This should generate a dump.lsif file in the root of the project.