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.
有没有办法处理使用 SBT 0.13.7 提供的“scala-library”JAR?
我正在使用 sbt-proguard 来打包我的 JAR,该 JAR 稍后会动态加载到在类路径上已经具有适当版本的 scala-library 的应用程序中。
sbt-proguard 插件默认吞噬整个世界。如果您不想使用 proguard 处理所有内容(并将其包含在生成的 jar 中),那么您将需要重新定义输入。例如在你的 build.sbt 中有这样的东西:
ProguardKeys.inputs in Proguard <<= exportedProducts in Compile map { _.files }