Adding tasks for mobile development
I'd like to add tasks to my gradle script to do things like:
- package ipa-debug - package ipa-debug-interpreter - package apk
...
Since the packageMobile tasks can of course only handle one of those packaging types, I'd like to add additional tasks so I can also simply launch them with a double click (using Gradle plugin in Eclipse).
I'm just starting and learning Groovy and Gradle, so I'm not
really sure how to add such tasks.
Can I somehow call the packageMobile task and override
properties?
Any help would be very appreciated.
Thx guys,
Michael
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Yennick Trevels on 06 Jan, 2014 10:25 AM
What may be even better suited for what you want to do is using multiple configurations. Maxim has an excellent explanation of this on his blog, which you can find here: http://blog.riastar.net/2013/03/28/gradlefx-multiple-configurations/
2 Posted by plank.michael on 06 Jan, 2014 01:08 PM
Thx a lot for this!
This is definitely a nice approach!
I'll definitely try it and share my thoughts.
Thx for your super fast responses, makes working with gradleFX really awesome!
Michael