mipmaps added to png optimizations

This commit is contained in:
Gavriil Sitnikov 2016-09-04 16:39:22 +03:00
parent 1e3945a8a4
commit 5c2c4ead69
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ task optimizePng {
for (def file : fileTree(dir: "${rootDir}", include: '**/src/**/res/drawable**/*.png')) {
jarArgs.add(file.absolutePath.substring(relatedPathIndex))
}
for (def file : fileTree(dir: "${rootDir}", include: '**/src/**/res/mipmap**/*.png')) {
jarArgs.add(file.absolutePath.substring(relatedPathIndex))
}
javaexec { main = "-jar"; args = jarArgs; workingDir = file("${rootDir}") }
}
}