summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fietz <Martin.Fietz@gmail.com>2016-10-02 22:05:40 +0200
committerGitHub <noreply@github.com>2016-10-02 22:05:40 +0200
commit6fd909689dbcb6f8d73b8e048061191f052959cb (patch)
treea6b1ea4cae6deff06eb2f0bf70c3e15e2e73bcc6
parent54b4b7a10a8ff00dbcb17b6a2ff6deaef075110c (diff)
parentcc4622f654880abdb1e2457926b2b10bc0aed536 (diff)
downloadAntennaPod-6fd909689dbcb6f8d73b8e048061191f052959cb.zip
Merge pull request #2115 from ByteHamster/about_date
Updating copyright date automatically
-rw-r--r--app/build.gradle3
-rw-r--r--app/src/main/templates/about.html2
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 &copy; 2015 AntennaPod Contributors <a href="CONTRIBUTORS.txt">(View)</a></p>
+ <p>Copyright &copy; 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>