GradleFx build modules

Ramesh's Avatar

Ramesh

22 Jul, 2013 01:22 PM

Hi,

I have a requirement where in I have multiple modules (.mxml) files in my source directory along with my main module (mainClass).
Please let me know how can I build these modules and generate .swf for my modules.

E.g.:
flex_src/folder1/module1.mxml
flex_src/folder1/module2.mxml
flex_src/main.mxml

build.gradle
apply plugin: 'gradlefx'
srcDirs = ['flex_src']
mainclass = main.mxml

I know how to build main.mxml (pasted sample above), but how can I build module1.mxml and module2.mxml into .swf

Please suggest

Regards,
Ramesh

  1. Support Staff 1 Posted by Yennick Trevels on 26 Jul, 2013 09:01 PM

    Yennick Trevels's Avatar

    Hi,

    Sorry for the late response, but apparently the notifications didn't work from 19-22 July.

    As for modules, this isn't natively supported by GradleFx. I would advice to create separate projects for them though, since every project can only have one output.
    Recently someone else got his module problem fixed with some custom code, see this thread for more information about it: http://support.gradlefx.org/discussions/questions/72-does-the-lates...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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