Skip to content

Commit 9e455bb

Browse files
authored
Merge pull request #62 from EUCPilots/jdk
JDR/JRE updates
2 parents 142be45 + 444436c commit 9e455bb

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

Apps/Get-MicrosoftOpenJDK25.ps1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
}

Manifests/AmazonCorretto8.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
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",

Manifests/MicrosoftOpenJDK25.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
}

0 commit comments

Comments
 (0)