Running A Script During Build Of Android App
I wanted to now if it's possible to run a .jar program or another script when building an android application or if somebody could guide me to an example. I would want to sort my s
Solution 1:
You can define your own task of type Exec and make the assembleRelease
task depends on it:
task executeScript(type:Exec) {
println 'Executing script...'
commandLine './script.sh'
}
gradle.projectsEvaluated {
assembleRelease.dependsOn executeScript
}
Solution 2:
You can use ANT tools to build your application and use shell scripts to sort your strings.xml.
Post a Comment for "Running A Script During Build Of Android App"