Hi everyone,
I want some help regarding automation of a task using Gradle.
What I want to achieve by running a command from Command Line?
-> Gradle Builds my Signed APK
-> A Python script takes the APK for which path will be known
a.) Emails it to someone
b.) Uploads to some place (A free hosting or dropbox etc. if any api is
available)
What I have achieved so far?
*-> I have finished the code in my build.gradle that generates a Signed APK
with my Certificate and credentials.*
So now I go to terminal and write "*gradle assembleRelease*" and I get my
APK at some location say ../build/outputs/apk/android-client-release.apk
*->I have written a Python script that is capable of emailing attachments*
So now for example if run "*python myEmailScript.py*" in command line it
currently sends a text file from my given path to my email.
However I would like to create a Task in gradle that can accommodate both
these steps but I am not able to do that.
Can someone help me on this? I have very basic experience with Groovy and
Gradle.
Why I want to do this?
For our android-client, I would like to have this task configured so that
whenever we have something to show others we can use this task to directly
build and send an apk rather than having them pull and build the code just
for mere testing purposes. This will be helpful for people who have no
prior experience with android development.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Mifos Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mifosdeveloper.
For more options, visit https://groups.google.com/d/optout.