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")
|
@Value("organization:name")
|
||||||
@Short("E")
|
@Short("E")
|
||||||
exclude: List[String],
|
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)")
|
@Help("Maximum number of parallel downloads (default: 6)")
|
||||||
@Short("n")
|
@Short("n")
|
||||||
parallel: Int = 6,
|
parallel: Int = 6,
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,8 @@ class Helper(
|
||||||
module,
|
module,
|
||||||
version,
|
version,
|
||||||
configuration = "default(compile)",
|
configuration = "default(compile)",
|
||||||
exclusions = excludes
|
exclusions = excludes,
|
||||||
|
transitive = !intransitive
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue