{
    "version": "2.5.2",
    "description": "A popular dependency manager focusing on flexibility and simplicity.",
    "homepage": "https://ant.apache.org/ivy/index.html",
    "license": "Apache-2.0",
    "depends": "ant",
    "suggest": {
        "JDK": [
            "java/oraclejdk",
            "java/openjdk"
        ]
    },
    "url": "https://downloads.apache.org/ant/ivy/2.5.2/apache-ivy-2.5.2-bin.zip",
    "hash": "sha512:07a16447218d57dae121f7377b72663ffab6e5477e7b8c5201b79a3d02c7f667cf6035489a51b64ab5200c64ea1a948f6b28b5589df24644a6511d99b565ca2a",
    "extract_dir": "apache-ivy-2.5.2",
    "installer": {
        "script": [
            "$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"",
            "Write-Host -fore blue \"Copying ivy-$version.jar to $antLibPath\"",
            "Copy-Item \"$dir\\ivy-$version.jar\" $antLibPath"
        ]
    },
    "uninstaller": {
        "script": [
            "$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"",
            "Write-Host -fore blue \"Removing ivy-$version.jar from $antLibPath\"",
            "Remove-Item -force $antLibPath\\ivy-$version.jar"
        ]
    },
    "checkver": {
        "url": "https://ant.apache.org/ivy/download.cgi",
        "regex": "/([\\d.]+)/"
    },
    "autoupdate": {
        "url": "https://downloads.apache.org/ant/ivy/$version/apache-ivy-$version-bin.zip",
        "hash": {
            "url": "$url.sha512"
        },
        "extract_dir": "apache-ivy-$version"
    }
}
