Add --intransitive option

This commit is contained in:
Alexandre Archambault 2016-02-20 15:53:10 +01:00
parent 1d58d8d453
commit 80807f4d93
2 changed files with 4 additions and 1 deletions

View File

@ -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,

View File

@ -169,7 +169,8 @@ class Helper(
module,
version,
configuration = "default(compile)",
exclusions = excludes
exclusions = excludes,
transitive = !intransitive
)
}