ScoopInstaller_Main/bucket/gradle-bin.json

35 lines
1.2 KiB
JSON

{
"version": "8.0.2",
"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.0.2-bin.zip",
"hash": "ff7bf6a86f09b9b2c40bb8f48b25fc19cf2b2664fd1d220cd7ab833ec758d0d7",
"extract_dir": "gradle-8.0.2",
"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"
}
}