mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "8.10.2",
 | 
						|
    "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-8.10.2-all.zip",
 | 
						|
    "hash": "2ab88d6de2c23e6adae7363ae6e29cbdd2a709e992929b48b6530fd0c7133bd6",
 | 
						|
    "extract_dir": "gradle-8.10.2",
 | 
						|
    "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"
 | 
						|
    }
 | 
						|
}
 |