How to add custom directory to Scala SBT project?

前端 未结 1 1906
你的背包
你的背包 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)
提交回复
热议问题