#set($dollar = '$')
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        // MAVEN
        {
            "label": "Build with Maven",
            "type": "shell",
            "command": "mvn",
            "args": [
                "clean",
                "install",
                // "-P option-with-swf",
                "-DskipTests"
            ],
            "group": "build",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": true,
                "panel": "dedicated"
            },
            "problemMatcher": []
        },
        // AS3&MXML (Debug)
        {
            "label": "Build with AS3&MXML (Debug)",
            "type": "actionscript",
            "debug": true,
            "group": "build",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": true,
                "panel": "dedicated"
            },
            "problemMatcher": []
        },
        // AS3&MXML (Release)
        {
            "label": "Build with AS3&MXML (Release)",
            "type": "actionscript",
            "debug": false,
            "group": "build",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": true,
                "panel": "dedicated"
            },
            "problemMatcher": []
        },
        // ASCONFIGC
        {
            "label": "build with asconfigc",
            "type": "shell",
            "command": "asconfigc",
            "args": [
                "--sdk=${dollar}{config:as3mxml.sdk.framework}"
            ],
            "group": "build",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": true,
                "panel": "dedicated"
            },
            "problemMatcher": []
        }
    ]
}