How I can rewrite the ant to gradle scripts for flex builder 3

I don't find any related docs or anything related to below code, how I can rewrite same in gradle script

Snippet :

<mxmlc target-player="10.0.0" file="${src}/workplace/FlexOptimization/SMPSUV.mxml"
        output="${FLEX_DEPLOY_DIR}/SMPSUV.swf" services="${src}/workplace/webContent/WEB-INF/flex/services-config.xml"
context-root="/${CONTEXT_ROOT}" fork = "true" >
<license product="flexbuilder3" serial-number="${flex_license}"/>
            <jvmarg line="-Xms512m -Xmx700m -XX:MaxPermSize=700m -XX:PermSize=512m"/>
            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
            <source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="${src}/workplace/FlexOptimization/" append="true">
<include name="libs"/>
</compiler.library-path>
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs"/>
<include name="locale/en_US" />
</compiler.library-path>
            <compiler.debug>false</compiler.debug>
         </mxmlc>

                <html-wrapper
                    title="SeeMorePlus"
                    file="SMPSUV.html"
                    height="100%"
                    width="100%"
                    bgcolor="red"
                    application="app"
                    swf="SMPSUV"
                    version-major="10"
                    version-minor="0"
                    version-revision="0"
                    history="true"
                    template="express-installation"
                    output="${FLEX_DEPLOY_DIR}"/>

  1. various example builds of GradleFx can be found here: https://github.com/GradleFx/GradleFx-Examples
    These should provide a good base to get you started (along with our reference documentation). Just make sure to use the latest version of GradleFx (1.5.0), since the examples mention an older version.

    The html-wrapper usage is documented in our documentation:
    - general usage
    - related properties

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

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