Skip to content

Commit

Permalink
Be less clever about copyright years (#2358)
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof committed Jan 2, 2019
1 parent b10dc22 commit 4210c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/CopyrightHeader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object CopyrightHeader extends AutoPlugin {
additionalTasks in ValidatePR += headerCheck in Test
)

val CurrentYear = java.time.Year.now.getValue.toString
val CurrentYear = "2018"
val CopyrightPattern = "Copyright \\([Cc]\\) (\\d{4}(-\\d{4})?) (Lightbend|Typesafe) Inc. <.*>".r
val CopyrightHeaderPattern = s"(?s).*${CopyrightPattern}.*".r

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ addSbtPlugin("com.lightbend.sbt" % "sbt-javaagent" % "0.1.4")
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.3.2")
addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.5")
addSbtPlugin("com.lightbend" % "sbt-whitesource" % "0.1.7")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "4.1.0")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0")

// used in ValidatePullRequest to check github PR comments whether to build all subprojects
libraryDependencies += "org.kohsuke" % "github-api" % "1.90"
Expand Down

0 comments on commit 4210c70

Please sign in to comment.