Updating copyright date automatically
This commit is contained in:
parent
4a1e728ac5
commit
cc4622f654
|
@ -178,7 +178,8 @@ task filterAbout {
|
|||
from "src/main/templates/about.html"
|
||||
into "src/main/assets"
|
||||
filter(ReplaceTokens, tokens: [versionname: android.defaultConfig.versionName,
|
||||
commit : "git rev-parse --short HEAD".execute().text])
|
||||
commit : "git rev-parse --short HEAD".execute().text,
|
||||
year : new Date().format('yyyy')])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
<p>Created by Daniel Oeh</p>
|
||||
|
||||
<p>Copyright © 2015 AntennaPod Contributors <a href="CONTRIBUTORS.txt">(View)</a></p>
|
||||
<p>Copyright © 2012-@year@ AntennaPod Contributors <a href="CONTRIBUTORS.txt">(View)</a></p>
|
||||
|
||||
<p>Licensed under the MIT License <a href="LICENSE.txt">(View)</a></p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue