Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个项目,其中包含特定位置(不是 /src/resources)中的资源(模板文件)。我希望在我运行时将这些资源打包在一起package-bin。
package-bin
我看到了 package-options 和 package-configuration 键,但不知道我是否可以使用它们来影响包装。
这是添加额外目录作为资源的一种方法:
unmanagedResourceDirectories in Compile <+= (baseDirectory) { (dir) => dir / "foo" }