diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2016-10-02 22:05:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-02 22:05:40 +0200 |
commit | 6fd909689dbcb6f8d73b8e048061191f052959cb (patch) | |
tree | a6b1ea4cae6deff06eb2f0bf70c3e15e2e73bcc6 | |
parent | 54b4b7a10a8ff00dbcb17b6a2ff6deaef075110c (diff) | |
parent | cc4622f654880abdb1e2457926b2b10bc0aed536 (diff) | |
download | AntennaPod-6fd909689dbcb6f8d73b8e048061191f052959cb.zip |
Merge pull request #2115 from ByteHamster/about_date
Updating copyright date automatically
-rw-r--r-- | app/build.gradle | 3 | ||||
-rw-r--r-- | app/src/main/templates/about.html | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle index a3b09ff6e..f83b405f7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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')]) } } diff --git a/app/src/main/templates/about.html b/app/src/main/templates/about.html index 5c7a3cbd0..400727c46 100644 --- a/app/src/main/templates/about.html +++ b/app/src/main/templates/about.html @@ -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> |