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

Recent Discussions

07 May, 2023 04:17 PM
28 Apr, 2023 11:22 PM
23 Apr, 2023 09:43 AM
03 Nov, 2022 01:22 AM
29 Jun, 2022 05:39 PM

 

04 Aug, 2021 12:50 PM
15 Apr, 2021 06:10 PM
15 Jan, 2021 06:56 PM
09 Mar, 2020 11:11 PM
09 Mar, 2020 11:09 PM
17 Apr, 2019 02:51 PM