mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 06:11:20 +00:00
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"version": "9.1.0",
|
|
"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-9.1.0-bin.zip",
|
|
"hash": "a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806",
|
|
"extract_dir": "gradle-9.1.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-bin.zip",
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
},
|
|
"extract_dir": "gradle-$version"
|
|
}
|
|
}
|