[英]SBT 0.13.8 what does the SettingKey.~= method do
The SettingKey.~= method is used to exclude dependencies from libraryDependencies (see play 2.3.8 sbt excluding logback ), but trying to find out what it does is hard as: SettingKey。〜=方法用于从libraryDependencies中排除依赖项(请参见播放2.3.8 sbt,不包括logback ),但是尝试找出它的作用是很困难的:
Can anyone shed light on what this does? 谁能阐明它的作用?
someScopedKey ~= f
is equivalent to 相当于
someScopedKey := f(someScopedKey.value)
In other words, it transforms the previous value of the setting/task with a given function. 换句话说,它使用给定功能转换设置/任务的先前值。 That's literally all there is to know about it. 实际上,这就是所有要了解的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.