Copy custom files or folders to build file
Copy custom files or folders to build file
Reference url:
https://stackoverflow.com/questions/21551854/add-specific-directory-and-its-content-to-universal-target
Best answer:
If you'd like to add additional files to the installation dir, simply add them to the universal mappings:
import com.typesafe.sbt.SbtNativePackager.Universal
mappings in Universal += {
file("my/local/conffile") -> "conf/my.conf"
}
Comments
Post a Comment