mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-04-29 22:24:28 +02:00
Cosmetic
This commit is contained in:
parent
d325da1c91
commit
4fe6ead964
@ -8,9 +8,11 @@
|
|||||||
* or (at your option) any later version.
|
* or (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
|
||||||
task checkCopyrightNotice {
|
task checkCopyrightNotice {
|
||||||
dependsOn { subprojects*.tasks.build }
|
dependsOn { subprojects*.tasks.build }
|
||||||
def notice = "Copyright 2015-${new java.text.SimpleDateFormat('yyyy').format(new Date())}"
|
def notice = "Copyright 2015-${new SimpleDateFormat('yyyy').format(new Date())}"
|
||||||
def checkNotice = { noticeFile ->
|
def checkNotice = { noticeFile ->
|
||||||
if (!file(noticeFile).text.contains(notice)) {
|
if (!file(noticeFile).text.contains(notice)) {
|
||||||
System.err.println "******************************** WARNING ********************************"
|
System.err.println "******************************** WARNING ********************************"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user