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) {
|
task generateContactsXml(type: Copy) {
|
||||||
from 'contacts.xml'
|
from 'contacts.xml'
|
||||||
into "src/main/res/xml/"
|
into "src/main/res/xml/"
|
||||||
|
outputs.upToDateWhen { file('src/main/res/xml/contacts.xml').exists() }
|
||||||
filter {
|
filter {
|
||||||
line -> line
|
line -> line
|
||||||
.replaceAll('%%AUTO_GENERATED%%', 'This file has been automatically generated, do not edit or commit !')
|
.replaceAll('%%AUTO_GENERATED%%', 'This file has been automatically generated, do not edit or commit !')
|
||||||
|
|
Loading…
Reference in a new issue