mirror of https://github.com/sbt/sbt.git
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:
commit
49a4055c24
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue