Always export apiURL even if autoAPIMappings is false.

This commit is contained in:
Jesse Kinkead 2015-10-01 11:29:36 -07:00
parent 2c4583e312
commit 0ecc2543ec
1 changed files with 2 additions and 2 deletions

View File

@ -1284,8 +1284,8 @@ object Classpaths {
private[sbt] def defaultProjectID: Initialize[ModuleID] = Def.setting {
val base = ModuleID(organization.value, moduleName.value, version.value).cross(crossVersion in projectID value).artifacts(artifacts.value: _*)
apiURL.value match {
case Some(u) if autoAPIMappings.value => base.extra(SbtPomExtraProperties.POM_API_KEY -> u.toExternalForm)
case _ => base
case Some(u) => base.extra(SbtPomExtraProperties.POM_API_KEY -> u.toExternalForm)
case _ => base
}
}