我收到以下错误。
[info] Merging inputs before proguard...
[error] /my/project/target/scala-2.10/proguard/merged/LICENSE (Is a directory)
java.lang.RuntimeException: Failed to merge all inputs. Merge strategies can be used to resolve conflicts.
...
[error] (proguard:mergedInputs) Failed to merge all inputs. Merge strategies can be used to resolve conflicts.
(更多细节...)
我已经尝试了以下...
ProguardKeys.merge in Proguard := true
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("license/.*".r)
和
ProguardKeys.merge in Proguard := true
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.append("license")
以上都不起作用。合并策略有什么问题吗?
谢谢你。