mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	Add 'suggest' directive as an alternative to 'depends'. Allows manifest authors to suggest apps with complementary features, without installing them automatically (fixes #1263)
This commit is contained in:
		
							parent
							
								
									60f5d43c0e
								
							
						
					
					
						commit
						00127b11ca
					
				
							
								
								
									
										4
									
								
								ant.json
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								ant.json
									
									
									
									
									
								
							@ -9,7 +9,9 @@
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "ANT_HOME": "$dir"
 | 
			
		||||
    },
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "https://ant.apache.org/bindownload.cgi",
 | 
			
		||||
        "re": "Currently, Apache Ant (?:[\\d.]+ and )?([\\d.]+) (?:is|are) the best"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								bfg.json
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								bfg.json
									
									
									
									
									
								
							@ -4,7 +4,9 @@
 | 
			
		||||
    "version": "1.12.15",
 | 
			
		||||
    "url": "https://repo1.maven.org/maven2/com/madgag/bfg/1.12.15/bfg-1.12.15.jar",
 | 
			
		||||
    "hash": "330af214a0fed320c591afc1046b0f31e8a438f290da09672973aeaa6411b09d",
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "bin": "bfg.ps1",
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "BFG_HOME": "$dir"
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,9 @@
 | 
			
		||||
    "url": "https://services.gradle.org/distributions/gradle-3.3-bin.zip",
 | 
			
		||||
    "extract_dir": "gradle-3.3",
 | 
			
		||||
    "bin": "bin\\gradle.bat",
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "https://gradle.org/gradle-download/",
 | 
			
		||||
        "re": "The current Gradle release is version ([\\d.]+)"
 | 
			
		||||
 | 
			
		||||
@ -11,7 +11,9 @@
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "GRAILS_HOME": "$dir"
 | 
			
		||||
    },
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "github": "https://github.com/grails/grails-core"
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,9 @@
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "GROOVY_HOME": "$dir"
 | 
			
		||||
    },
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "http://www.groovy-lang.org/download.html",
 | 
			
		||||
        "re": "([\\d.]+) distributions"
 | 
			
		||||
 | 
			
		||||
@ -14,7 +14,9 @@
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "KOTLIN_HOME": "$dir"
 | 
			
		||||
    },
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "github": "https://github.com/JetBrains/kotlin"
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
@ -11,7 +11,9 @@
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "M2_HOME": "$dir"
 | 
			
		||||
    },
 | 
			
		||||
    "notes": "Maven requires a JDK such as OpenJDK 7 (scoop install openjdk) or Oracle's Java 8 (scoop install oraclejdk). The Oracle JDK requires the Scoop Extras bucket (scoop butcket add extras).",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "https://maven.apache.org/download.cgi",
 | 
			
		||||
        "re": "Apache Maven ([\\d.]+) is the latest release"
 | 
			
		||||
 | 
			
		||||
@ -15,7 +15,9 @@
 | 
			
		||||
    "env_set": {
 | 
			
		||||
        "SCALA_HOME": "$dir"
 | 
			
		||||
    },
 | 
			
		||||
    "depends": "openjdk",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "JDK": [ "extras/oraclejdk", "openjdk" ]
 | 
			
		||||
    },
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "https://www.scala-lang.org/download/",
 | 
			
		||||
        "re": "Download Scala ([\\d.]+)"
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,6 @@
 | 
			
		||||
    "license":  "",
 | 
			
		||||
    "extract_dir":  "Scholdoc",
 | 
			
		||||
    "url":  "http://scholarlymarkdown.com/scholdoc-distribution/windows/scholdoc-0.1.3-alpha-windows.msi",
 | 
			
		||||
    "depends":  "",
 | 
			
		||||
    "homepage":  "http://scholdoc.scholarlymarkdown.com/",
 | 
			
		||||
    "hash":  "e58036686c3c05db4a50d5fabd875eaa33aff2b0dd4d930c6bc2067c2bcd2b86",
 | 
			
		||||
    "bin":  "scholdoc.exe",
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,9 @@
 | 
			
		||||
    "homepage": "https://yarnpkg.com/",
 | 
			
		||||
    "license": "BSD",
 | 
			
		||||
    "version": "0.19.1",
 | 
			
		||||
    "depends": "nodejs",
 | 
			
		||||
    "suggest": {
 | 
			
		||||
        "Node.js": [ "nodejs" ]
 | 
			
		||||
    },
 | 
			
		||||
    "url": "https://github.com/yarnpkg/yarn/releases/download/v0.19.1/yarn-0.19.1.msi",
 | 
			
		||||
    "hash": "2d08c4e4e7a6086585ef47307333187a235aa926a211628d3f8c02093fd6fb71",
 | 
			
		||||
    "bin": "Yarn\\bin\\yarn.cmd",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user