mirror of https://github.com/sbt/sbt.git
Add Custom scope to pom configuration
This commit is contained in:
parent
15e6cdfd68
commit
1c5fd5bece
|
|
@ -4,6 +4,10 @@ lazy val root = (project in file(".")).
|
|||
configs(Custom).
|
||||
settings(
|
||||
TaskKey[Unit]("checkPom") := checkPom.value,
|
||||
makePomConfiguration := {
|
||||
val p = makePomConfiguration.value
|
||||
p.withConfigurations(Configurations.defaultMavenConfigurations :+ Custom)
|
||||
},
|
||||
libraryDependencies ++= Seq(
|
||||
"a" % "a" % "1.0",
|
||||
"b" % "b" % "1.0" % "runtime,optional",
|
||||
|
|
|
|||
Loading…
Reference in New Issue