Commit 0bd7f2cf authored by Christophe Deschamps's avatar Christophe Deschamps
Browse files

Moved the zip task to gradle


Former-commit-id: 78e6b7e9e2155524b138da9c81a364036b8c42a1
parent cddf341c
......@@ -21,8 +21,18 @@ repositories {
}
}
task zipTheme(type:Exec) {
commandLine "./zip-theme.sh"
task zipTheme(type: Zip){
println "Zipping theme"
from '../lindoor-shared-themes/'
include 'action_types.xml'
include 'method_types.xml'
include 'device_types.xml'
include 'texts.xml'
include 'theme.xml'
include 'images/**/*'
include 'fonts/**/*'
archiveFileName = "lindoor.zip"
destinationDirectory = file('src/main/assets/')
}
afterEvaluate {
......
cd ../lindoor-shared-themes
zip -r lindoor.zip action_types.xml method_types.xml device_types.xml texts.xml theme.xml images fonts
cp lindoor.zip ../app/src/main/assets/lindoor.zip
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment