Skip to content

Commit

Permalink
project: fixed the publishing
Browse files Browse the repository at this point in the history
poms were missing developer/licence info
  • Loading branch information
symbiont-eric-torreborre committed Sep 12, 2021
1 parent 57993e4 commit f193820
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ val Scala3 = "3.0.2"

lazy val specs2Settings = Seq(
organization := "org.specs2",
homepage := Some(url("https://github.com/etorreborre/specs2")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"etorreborre",
"Eric Torreborre",
"[email protected]",
url("https://github.com/etorreborre"))),
specs2ShellPrompt,
ThisBuild / crossScalaVersions := Seq(Scala3),
ThisBuild / scalaVersion := Scala3
Expand Down Expand Up @@ -296,17 +304,6 @@ lazy val releaseSettings: Seq[Setting[_]] = Seq(
params = Map("branch" -> "gh-pages", "clean" -> "false", "folder" -> "target/specs2-reports/site")
)
),
organization := "org.specs2",
homepage := Some(url("https://github.com/etorreborre/specs2")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"etorreborre",
"Eric Torreborre",
"[email protected]",
url("https://github.com/etorreborre")
)
),
ThisBuild / git.gitTagToVersionNumber := { tag: String =>
if (tag matches SPECS2 + ".*") Some(tag.replace(SPECS2, "")) else None
},
Expand All @@ -325,6 +322,7 @@ lazy val aggregateCompile = ScopeFilter(
matcherExtra.jvm,
html,
form,
guide,
markdown,
junit.jvm,
scalacheck.jvm,
Expand Down

0 comments on commit f193820

Please sign in to comment.