Merge pull request #2262 from jkinkead/api_url_always_checked-1.0.x

Always export apiURL even if autoAPIMappings is false.
This commit is contained in:
eugene yokota 2015-11-11 11:38:21 -05:00
commit 49a4055c24
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
}
}