How to add custom directory to Scala SBT project?

前端 未结 1 1904
你的背包
你的背包 2020-12-20 02:22

We have conf directory in our project which is fine, but one of the new components requires its own config to be placed into config directory and w

相关标签:
1条回答
  • 2020-12-20 02:49

    This is what I added to my Build.scala to finally solve the issue:

    mappings in Universal ++= (baseDirectory.value / "config" * "*" get) map
      (x => x -> ("config/" + x.getName)),
    
    0 讨论(0)
提交回复
热议问题