Loading __tests__/distributors/microsoft-installer.test.ts +6 −1 Changes for __tests__/distributors/microsoft-installer.test.ts: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -14,10 +14,15 @@ describe('findPackageForDownload', () => { it.each([ [ '17.x', '17.0.1', '17.0.1', 'https://aka.ms/download-jdk/microsoft-jdk-17.0.1.12.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' ], [ '17.x', '17.0.3', 'https://aka.ms/download-jdk/microsoft-jdk-17.0.3-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' ], [ '16.0.x', '16.0.2', Loading dist/setup/index.js +6 −3 Changes for dist/setup/index.js: 6 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -101717,11 +101717,17 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { // TODO get these dynamically! // We will need Microsoft to add an endpoint where we can query for versions. const jdkVersions = [ { version: [17, 0, 3] }, { version: [17, 0, 1, 12, 1] }, { version: [16, 0, 2, 7, 1] }, { version: [11, 0, 15] } ]; // M1 is only supported for Java 16 & 17 Loading @@ -101729,9 +101735,6 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { jdkVersions.push({ version: [11, 0, 13, 8, 1] }); jdkVersions.push({ version: [11, 0, 15] }); } return jdkVersions; }); src/distributions/microsoft/installer.ts +6 −3 Changes for src/distributions/microsoft/installer.ts: 6 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -80,11 +80,17 @@ export class MicrosoftDistributions extends JavaBase { // TODO get these dynamically! // We will need Microsoft to add an endpoint where we can query for versions. const jdkVersions = [ { version: [17, 0, 3] }, { version: [17, 0, 1, 12, 1] }, { version: [16, 0, 2, 7, 1] }, { version: [11, 0, 15] } ]; Loading @@ -93,9 +99,6 @@ export class MicrosoftDistributions extends JavaBase { jdkVersions.push({ version: [11, 0, 13, 8, 1] }); jdkVersions.push({ version: [11, 0, 15] }); } return jdkVersions; Loading Loading
__tests__/distributors/microsoft-installer.test.ts +6 −1 Changes for __tests__/distributors/microsoft-installer.test.ts: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -14,10 +14,15 @@ describe('findPackageForDownload', () => { it.each([ [ '17.x', '17.0.1', '17.0.1', 'https://aka.ms/download-jdk/microsoft-jdk-17.0.1.12.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' ], [ '17.x', '17.0.3', 'https://aka.ms/download-jdk/microsoft-jdk-17.0.3-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' ], [ '16.0.x', '16.0.2', Loading
dist/setup/index.js +6 −3 Changes for dist/setup/index.js: 6 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -101717,11 +101717,17 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { // TODO get these dynamically! // We will need Microsoft to add an endpoint where we can query for versions. const jdkVersions = [ { version: [17, 0, 3] }, { version: [17, 0, 1, 12, 1] }, { version: [16, 0, 2, 7, 1] }, { version: [11, 0, 15] } ]; // M1 is only supported for Java 16 & 17 Loading @@ -101729,9 +101735,6 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { jdkVersions.push({ version: [11, 0, 13, 8, 1] }); jdkVersions.push({ version: [11, 0, 15] }); } return jdkVersions; });
src/distributions/microsoft/installer.ts +6 −3 Changes for src/distributions/microsoft/installer.ts: 6 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -80,11 +80,17 @@ export class MicrosoftDistributions extends JavaBase { // TODO get these dynamically! // We will need Microsoft to add an endpoint where we can query for versions. const jdkVersions = [ { version: [17, 0, 3] }, { version: [17, 0, 1, 12, 1] }, { version: [16, 0, 2, 7, 1] }, { version: [11, 0, 15] } ]; Loading @@ -93,9 +99,6 @@ export class MicrosoftDistributions extends JavaBase { jdkVersions.push({ version: [11, 0, 13, 8, 1] }); jdkVersions.push({ version: [11, 0, 15] }); } return jdkVersions; Loading