mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"version": "8.1.1",
|
|
"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.1.1-bin.zip",
|
|
"hash": "e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f",
|
|
"extract_dir": "gradle-8.1.1",
|
|
"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"
|
|
}
|
|
}
|