Skip to content

Commit 7cdc682

Browse files
author
Martin
committed
license plugin: header now uses the year variable
1 parent d7ad1ea commit 7cdc682

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

LICENSE_HEADER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2016 Martin Trummer ([email protected])
1+
Copyright © ${year} Martin Trummer ([email protected])
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ subprojects {
3636
mapping {
3737
java = 'SLASHSTAR_STYLE'
3838
}
39+
ext.year = Calendar.getInstance().get(Calendar.YEAR)
3940
}
4041
}
4142

0 commit comments

Comments
 (0)