Why does the external dependencies filter to work only with SWC files?

Dimas Kotvan's Avatar

Dimas Kotvan

21 Oct, 2013 04:32 PM

Hi,

I'm starting to automating my Flash Builder project with Gradle.
I noticed that the dependencies doesn't accept ANE files, eg: dependencies { external fileTree(dir: 'ane', include: '*.ane') } fails to include the ANE file as an external dependency, but when I change to get the swc file external fileTree(dir: 'ane', include: '*.swc') } it works.

Why it only accepts SWC files?

Thanks

  1. Support Staff 1 Posted by Yennick Trevels on 21 Oct, 2013 05:23 PM

    Yennick Trevels's Avatar

    Because we use the following filter in our internal code:

    Collection<File> files = libraryFiles.findAll {
        it.name.endsWith(FlexType.swc.toString()) || it.isDirectory()
    }
    

    This was done to filter out pom files, but we didn't think about ane files at that moment. So that's something we'll have to change in our internal code.

  2. 2 Posted by Dimas Kotvan on 21 Oct, 2013 06:16 PM

    Dimas Kotvan's Avatar

    Thank you for your promptly response.
    Should I create a new ticket on Github for this issue?

  3. Support Staff 3 Posted by Yennick Trevels on 21 Oct, 2013 06:17 PM

    Yennick Trevels's Avatar

    yes, please do. That helps us track the issue.

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