mirror of https://github.com/sbt/sbt.git
Allow `ModuleID % Configuration`
This commit is contained in:
parent
31f5133ff6
commit
3817c0ce48
|
|
@ -46,6 +46,8 @@ final class GroupArtifactID private[sbt] (groupID: String, artifactID: String, c
|
||||||
}
|
}
|
||||||
final class ModuleIDConfigurable private[sbt] (moduleID: ModuleID)
|
final class ModuleIDConfigurable private[sbt] (moduleID: ModuleID)
|
||||||
{
|
{
|
||||||
|
def % (configuration: Configuration): ModuleID = %(configuration.name)
|
||||||
|
|
||||||
def % (configurations: String): ModuleID =
|
def % (configurations: String): ModuleID =
|
||||||
{
|
{
|
||||||
nonEmpty(configurations, "Configurations")
|
nonEmpty(configurations, "Configurations")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue