2025-10-29 16:31:17 +00:00

35 lines
1.3 KiB
JSON

{
"version": "9.2.0",
"description": "An open-source build automation tool focused on flexibility and performance. (Source code and documentation bundled)",
"homepage": "https://gradle.org",
"license": "Apache-2.0",
"suggest": {
"JDK": "java/openjdk"
},
"url": "https://services.gradle.org/distributions/gradle-9.2.0-all.zip",
"hash": "16f2b95838c1ddcf7242b1c39e7bbbb43c842f1f1a1a0dc4959b6d4d68abcac3",
"extract_dir": "gradle-9.2.0",
"post_install": [
"$current_env = Get-EnvVar -Name GRADLE_USER_HOME -Global:$global",
"If ($null -eq $current_env) {",
" $path = \"$dir\\.gradle\"",
" Set-EnvVar -Name GRADLE_USER_HOME -Value $path -Global:$global",
" $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-all.zip",
"hash": {
"url": "$url.sha256"
},
"extract_dir": "gradle-$version"
}
}