mirror of https://github.com/sbt/sbt.git
Bump lm, use release notes key
This commit is contained in:
parent
11ea11e382
commit
ed29e35f41
|
|
@ -3347,7 +3347,7 @@ object Classpaths {
|
|||
}
|
||||
val p3 = releaseNotesURL.value match {
|
||||
case Some(u) =>
|
||||
p2.extra("info.releaseNotesUrl" -> u.toExternalForm)
|
||||
p2.extra(SbtPomExtraProperties.POM_RELEASE_NOTES_KEY -> u.toExternalForm)
|
||||
case _ => p2
|
||||
}
|
||||
p3
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ object CoursierInputsTasks {
|
|||
sv: String,
|
||||
sbv: String,
|
||||
auOpt: Option[URL],
|
||||
rnOpt: Option[URL],
|
||||
description: String,
|
||||
homepage: Option[URL],
|
||||
vsOpt: Option[String],
|
||||
|
|
@ -70,8 +71,15 @@ object CoursierInputsTasks {
|
|||
proj1.withProperties(proj1.properties :+ (SbtPomExtraProperties.VERSION_SCHEME_KEY -> vs))
|
||||
case _ => proj1
|
||||
}
|
||||
proj2.withInfo(
|
||||
proj2.info.withDescription(description).withHomePage(homepage.fold("")(_.toString))
|
||||
val proj3 = rnOpt match {
|
||||
case Some(rn) =>
|
||||
proj2.withProperties(
|
||||
proj2.properties :+ (SbtPomExtraProperties.POM_RELEASE_NOTES_KEY -> rn.toString)
|
||||
)
|
||||
case _ => proj2
|
||||
}
|
||||
proj3.withInfo(
|
||||
proj3.info.withDescription(description).withHomePage(homepage.fold("")(_.toString))
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -84,6 +92,7 @@ object CoursierInputsTasks {
|
|||
scalaVersion.value,
|
||||
scalaBinaryVersion.value,
|
||||
apiURL.value,
|
||||
releaseNotesURL.value,
|
||||
description.value,
|
||||
homepage.value,
|
||||
versionScheme.value,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ object Dependencies {
|
|||
// sbt modules
|
||||
private val ioVersion = nightlyVersion.getOrElse("1.8.0")
|
||||
private val lmVersion =
|
||||
sys.props.get("sbt.build.lm.version").orElse(nightlyVersion).getOrElse("1.8.0")
|
||||
sys.props.get("sbt.build.lm.version").orElse(nightlyVersion).getOrElse("1.9.0-M1")
|
||||
val zincVersion = nightlyVersion.getOrElse("1.8.0")
|
||||
|
||||
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
||||
|
|
|
|||
Loading…
Reference in New Issue