Skip to content

Commit

Permalink
consolidate build settings in build plugin so there's no confusing ov…
Browse files Browse the repository at this point in the history
…er where they're set
  • Loading branch information
bpholt committed Mar 14, 2024
1 parent ac96fb9 commit 5bee33d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 23 deletions.
23 changes: 0 additions & 23 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
ThisBuild / organization := "com.dwolla"
ThisBuild / homepage := Some(url("https://github.com/Dwolla/async-utils"))
ThisBuild / licenses := Seq(License.MIT)
ThisBuild / developers := List(
Developer(
"bpholt",
"Brian Holt",
"[email protected]",
url("https://dwolla.com")
),
)
ThisBuild / startYear := Option(2021)
ThisBuild / tlSonatypeUseLegacyHost := true
ThisBuild / tlBaseVersion := "1.1"
ThisBuild / tlCiReleaseBranches := Seq("main")
ThisBuild / mergifyRequiredJobs ++= Seq("validate-steward")
ThisBuild / mergifyStewardConfig ~= { _.map(_.copy(
author = "dwolla-oss-scala-steward[bot]",
mergeMinors = true,
))}
ThisBuild / tlJdkRelease := Option(8)
ThisBuild / tlFatalWarnings := githubIsWorkflowBuild.value

lazy val `async-utils-root` = (project in file("."))
.aggregate(allProjects.map(_.project) *)
.settings(
Expand Down
25 changes: 25 additions & 0 deletions project/AsyncUtilsBuildPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,31 @@ object AsyncUtilsBuildPlugin extends AutoPlugin {
githubWorkflowScalaVersions := Seq("per-project-matrix"),
githubWorkflowBuildSbtStepPreamble := Nil,

organization := "com.dwolla",
homepage := Some(url("https://github.com/Dwolla/async-utils")),
licenses := Seq(License.MIT),
developers := List(
Developer(
"bpholt",
"Brian Holt",
"[email protected]",
url("https://dwolla.com")
),
),
startYear := Option(2021),
tlSonatypeUseLegacyHost := true,
tlBaseVersion := "1.1",
tlCiReleaseBranches := Seq("main"),
mergifyRequiredJobs ++= Seq("validate-steward"),
mergifyStewardConfig ~= {
_.map(_.copy(
author = "dwolla-oss-scala-steward[bot]",
mergeMinors = true,
))
},
tlJdkRelease := Option(8),
tlFatalWarnings := githubIsWorkflowBuild.value,

nodeExecutable :=
scala.util.Try {
import scala.sys.process.*
Expand Down

0 comments on commit 5bee33d

Please sign in to comment.