build scripts: exclude *.png files from sources archives

This commit is contained in:
nik
2016-09-15 11:12:04 +03:00
parent 9ae1af4112
commit f620222877
@@ -80,7 +80,9 @@ class BuildTasksImpl extends BuildTasks {
zipfileset(dir: root.file.absolutePath, prefix: root.properties.packagePrefix.replace('.', '/'), erroronmissingdir: false)
}
module.getSourceRoots(JavaResourceRootType.RESOURCE).each { root ->
buildContext.ant.zipfileset(dir: root.file.absolutePath, prefix: root.properties.relativeOutputPath, erroronmissingdir: false)
buildContext.ant.zipfileset(dir: root.file.absolutePath, prefix: root.properties.relativeOutputPath, erroronmissingdir: false) {
exclude(name: "**/*.png")
}
}
}
}