I've three separeted git projects, with SBT. They depends on each other, I'm having bad headaches hopping from one to another when looking at call stack. I wanted to group them under a single sbt project, using git submodules, so I've created a module for each one and then a build.sbt in father project. ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.12.16"
lazy val core = RootProject (file("core"))
lazy val plugins = RootProject (file("plugins"))
lazy val utilities = RootProject (file("utils"))
lazy val root = (project in file("."))
.dependsOn(core, plugins, utilities)
.settings(
name := "aggregator"
)
But I've got an error: java.lang.NoClassDefFoundError: okhttp3/Interceptor,
I feel that is the wrong way to do it, anyone has some example on how it should be done? I need only to navigate the code easily, I don't care if single module will not produce the fat jar.