Skip to content

Commit

Permalink
Avoid duplications of properties in pom.xml (scala#20020)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordyjan authored Mar 26, 2024
2 parents ff6ef73 + 7a3dc44 commit 301c977
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 @@ -1999,6 +1999,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 @@ -2009,10 +2013,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 301c977

Please sign in to comment.