Make shareable code across several Spark SBT projects

前端 未结 1 810
梦谈多话
梦谈多话 2021-01-07 03:53

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

相关标签:
1条回答
  • 2021-01-07 04:11

    I've solved this adding in the build.sbt file the followings:

    lazy val core = RootProject(file("../coreProject"))
    
    val main = Project(id = "application", base = file(".")).dependsOn(core)
    
    0 讨论(0)
提交回复
热议问题