mirror of
https://github.com/sbt/sbt.git
synced 2026-09-05 09:15:06 +02:00
Allow ModuleID % Configuration
This commit is contained in:
Regular → Executable
+2
@@ -46,6 +46,8 @@ final class GroupArtifactID private[sbt] (groupID: String, artifactID: String, c
|
||||
}
|
||||
final class ModuleIDConfigurable private[sbt] (moduleID: ModuleID)
|
||||
{
|
||||
def % (configuration: Configuration): ModuleID = %(configuration.name)
|
||||
|
||||
def % (configurations: String): ModuleID =
|
||||
{
|
||||
nonEmpty(configurations, "Configurations")
|
||||
|
||||
Reference in New Issue
Block a user