Improved generateContactsXml task in gradle
This commit is contained in:
parent
01b3162392
commit
f7c7fe2595
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ if (firebaseEnabled()) {
|
|||
task generateContactsXml(type: Copy) {
|
||||
from 'contacts.xml'
|
||||
into "src/main/res/xml/"
|
||||
outputs.upToDateWhen { file('src/main/res/xml/contacts.xml').exists() }
|
||||
filter {
|
||||
line -> line
|
||||
.replaceAll('%%AUTO_GENERATED%%', 'This file has been automatically generated, do not edit or commit !')
|
||||
|
|
Loading…
Reference in a new issue