{
    "version": "8.6",
    "description": "An open-source build automation tool focused on flexibility and performance. (Binaries only without documentation)",
    "homepage": "https://gradle.org",
    "license": "Apache-2.0",
    "suggest": {
        "JDK": "java/openjdk"
    },
    "url": "https://services.gradle.org/distributions/gradle-8.6-bin.zip",
    "hash": "9631d53cf3e74bfa726893aee1f8994fee4e060c401335946dba2156f440f24c",
    "extract_dir": "gradle-8.6",
    "post_install": [
        "$current_env = env GRADLE_USER_HOME $global",
        "If ($null -eq $current_env) {",
        "    $path = \"$dir\\.gradle\"",
        "    env GRADLE_USER_HOME $global $path",
        "    $Env:GRADLE_USER_HOME = $path",
        "    Write-Host \"Environment variable 'GRADLE_USER_HOME' set to '$path'\"",
        "}"
    ],
    "persist": ".gradle",
    "bin": "bin\\gradle.bat",
    "checkver": {
        "url": "https://gradle.org/install/",
        "regex": "The current Gradle release is version ([\\d.]+)"
    },
    "autoupdate": {
        "url": "https://services.gradle.org/distributions/gradle-$version-bin.zip",
        "hash": {
            "url": "$url.sha256"
        },
        "extract_dir": "gradle-$version"
    }
}
