I have some code that I want to use in different Spark projects. I\'m using sbt to create the .jar file.
I saw this idea
Put the shared code
I've solved this adding in the build.sbt file the followings:
build.sbt
lazy val core = RootProject(file("../coreProject")) val main = Project(id = "application", base = file(".")).dependsOn(core)