Skip to content

Commit

Permalink
Merge pull request #155 from typelevel/yr2024
Browse files Browse the repository at this point in the history
Add `year` template variable
  • Loading branch information
valencik authored Jul 8, 2024
2 parents 895f005 + 8132f9f commit f98076b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/g8/NOTICE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
$name$
Copyright 2023 $organization_name$
Copyright $year$ $organization_name$
Licensed under Apache License 2.0 (see LICENSE)
2 changes: 1 addition & 1 deletion src/main/g8/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ThisBuild / tlBaseVersion := "0.0" // your current series x.y

ThisBuild / organization := "$organization$"
ThisBuild / organizationName := "$organization_name$"
ThisBuild / startYear := Some(2023)
ThisBuild / startYear := Some($year$)
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List(
// your GitHub handle and name
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/core/src/main/scala/$package$/Main.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 $organization_name$
* Copyright $year$ $organization_name$
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/core/src/test/scala/$package$/MainSuite.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 $organization_name$
* Copyright $year$ $organization_name$
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
1 change: 1 addition & 0 deletions src/main/g8/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description = Template using sbt-typelevel
organization = com.example
package = $organization$.$name;format="norm,word"$
organization_name = Example
year = 2024

scala_version = 2.13.14
other_scala_version = 3.3.3
Expand Down

0 comments on commit f98076b

Please sign in to comment.