Skip to content

Commit

Permalink
Merge pull request #191 from armanbilge/feature/organization-homepage
Browse files Browse the repository at this point in the history
Automatically set `organizationHomepage` for Typelevel
  • Loading branch information
armanbilge authored Feb 27, 2022
2 parents 0b128cb + 9574466 commit 9946a56
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/src/main/scala/org/typelevel/sbt/TypelevelPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ object TypelevelPlugin extends AutoPlugin {
override def buildSettings = Seq(
organization := "org.typelevel",
organizationName := "Typelevel",
organizationHomepage := {
organizationHomepage.?.value.flatten.orElse {
if (organizationName.value == "Typelevel")
Some(url("https://typelevel.org"))
else None
}
},
startYear := Some(java.time.YearMonth.now().getYear()),
licenses += "Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"),
tlCiReleaseBranches := Seq("main"),
Expand Down

0 comments on commit 9946a56

Please sign in to comment.