Improved generateContactsXml task in gradle

This commit is contained in:
Sylvain Berfini 2020-06-17 16:31:49 +02:00
parent a80a2f8049
commit 41869f7289

View file

@ -174,6 +174,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 !')