Skip to content

Commit

Permalink
Backport "Avoid duplications of properties in pom.xml" to LTS (#21022)
Browse files Browse the repository at this point in the history
Backports #20020 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
  • Loading branch information
WojciechMazur authored Jul 5, 2024
2 parents 2b87b6a + eb6c59d commit 5cdcf6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1808,6 +1808,10 @@ object Build {
publishTo := sonatypePublishToBundle.value,
publishConfiguration ~= (_.withOverwrite(true)),
publishLocalConfiguration ~= (_.withOverwrite(true)),
projectID ~= {id =>
val line = "scala.versionLine" -> versionLine
id.withExtraAttributes(id.extraAttributes + line)
},
Test / publishArtifact := false,
homepage := Some(url(dottyGithubUrl)),
licenses += (("Apache-2.0",
Expand All @@ -1818,10 +1822,6 @@ object Build {
"scm:git:[email protected]:scala/scala3.git"
)
),
pomExtra :=
<properties>
<scala.versionLine>{versionLine}</scala.versionLine>
</properties>,
developers := List(
Developer(
id = "odersky",
Expand Down

0 comments on commit 5cdcf6a

Please sign in to comment.