File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed
Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ function Get-MicrosoftOpenJDK25 {
2+ <#
3+ . NOTES
4+ Author: Aaron Parker
5+
6+ #>
7+ [OutputType ([System.Management.Automation.PSObject ])]
8+ [CmdletBinding (SupportsShouldProcess = $false )]
9+ param (
10+ [Parameter (Mandatory = $false , Position = 0 )]
11+ [ValidateNotNull ()]
12+ [System.Management.Automation.PSObject ]
13+ $res = (Get-FunctionResource - AppName (" $ ( $MyInvocation.MyCommand ) " .Split(" -" ))[1 ])
14+ )
15+
16+ $Output = Get-AdoptiumTemurin - res $res
17+ Write-Output - InputObject $Output
18+ }
Original file line number Diff line number Diff line change 88 "Download" : {
99 "Uri" : [
1010 " https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.msi" ,
11+ " https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.zip" ,
12+ " https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jre.msi" ,
1113 " https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jre.zip" ,
1214 " https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jdk.msi" ,
15+ " https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jdk.zip" ,
16+ " https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jre.msi" ,
1317 " https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jre.zip"
1418 ],
1519 "Property" : " ResponseUri.Headers.Location" ,
Original file line number Diff line number Diff line change 1+
2+ {
3+ "Name" : " Microsoft OpenJDK 25" ,
4+ "Source" : " https://www.microsoft.com/openjdk" ,
5+ "Get" : {
6+ "Update" : {
7+ "Uri" : " https://marketplace-api.adoptium.net/v1/assets/latestForVendors?feature_version=25&os=windows&vendor=microsoft" ,
8+ "ContentType" : " application/json" ,
9+ "MatchImage" : " jdk|jre" ,
10+ "ResolveUri" : true
11+ }
12+ },
13+ "Install" : {
14+ "Setup" : " " ,
15+ "Physical" : {
16+ "Arguments" : " " ,
17+ "PostInstall" : []
18+ },
19+ "Virtual" : {
20+ "Arguments" : " " ,
21+ "PostInstall" : []
22+ }
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments