How to include local swc dependency

ido.ran's Avatar

ido.ran

08 Aug, 2014 11:04 AM

I'm trying to create GradleFX script to build AIR library and application (that uses that library).
The library depends on several external swc files.

How can I reference those swc files in my build script? I prefer not to put them in maven repository if possible.

Thank you,
Ido.

  1. Support Staff 1 Posted by Yennick Trevels on 08 Aug, 2014 11:20 AM

    Yennick Trevels's Avatar

    Hi,

    You can use file-based dependencies as described in the Gradle docs here: http://www.gradle.org/docs/current/userguide/dependency_management....

    Or have a look at this this example: https://github.com/GradleFx/GradleFx-Examples/blob/master/flexunit-...

  2. 2 Posted by ido.ran on 08 Aug, 2014 11:31 AM

    ido.ran's Avatar

    thanks, that is working great.

    The next question is how to tell GradeFX where are to find ANE files I have.
    I have a library that has only one ANE file. I need to include that library in my library I think using merged method but I'm not sure.

  3. Support Staff 3 Posted by Yennick Trevels on 09 Aug, 2014 08:09 AM

    Yennick Trevels's Avatar

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