mirror of https://github.com/sbt/sbt.git
Add --intransitive option
This commit is contained in:
parent
1d58d8d453
commit
80807f4d93
|
|
@ -48,6 +48,8 @@ case class CommonOptions(
|
|||
@Value("organization:name")
|
||||
@Short("E")
|
||||
exclude: List[String],
|
||||
@Help("Consider provided dependencies to be intransitive. Applies to all the provided dependencies.")
|
||||
intransitive: Boolean,
|
||||
@Help("Maximum number of parallel downloads (default: 6)")
|
||||
@Short("n")
|
||||
parallel: Int = 6,
|
||||
|
|
|
|||
|
|
@ -169,7 +169,8 @@ class Helper(
|
|||
module,
|
||||
version,
|
||||
configuration = "default(compile)",
|
||||
exclusions = excludes
|
||||
exclusions = excludes,
|
||||
transitive = !intransitive
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue