diff --git a/build.sbt b/build.sbt index 7ef7c83059..b4830ef7b7 100644 --- a/build.sbt +++ b/build.sbt @@ -40,14 +40,15 @@ lazy val buildTime = Instant.now.toString lazy val aggregatedProjects: Seq[ProjectReference] = Seq(webapi, sipi, integration) +lazy val year = java.time.LocalDate.now().getYear lazy val buildSettings = Seq( organization := "org.knora", version := (ThisBuild / version).value, headerLicense := Some( HeaderLicense.Custom( - """|Copyright © 2021 - 2024 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. - |SPDX-License-Identifier: Apache-2.0 - |""".stripMargin, + s"""|Copyright © 2021 - $year Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. + |SPDX-License-Identifier: Apache-2.0 + |""".stripMargin, ), ), )