Skip to content

Commit 07bee6c

Browse files
committed
- adds java 15 installation for perf and latest language features
1 parent 9bfbcbd commit 07bee6c

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎.azure-pipelines/buildAndPackage.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@ steps:
4141
inputs:
4242
debugMode: false
4343

44+
- pwsh: 'Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x64_windows_hotspot_15.0.2_7.zip -OutFile OpenJDK.zip'
45+
displayName: 'Download JDK'
46+
47+
- task: JavaToolInstaller@0
48+
inputs:
49+
versionSpec: '15'
50+
jdkArchitectureOption: 'x64'
51+
jdkSourceOption: 'LocalDirectory'
52+
jdkFile: 'OpenJDK.zip'
53+
jdkDestinationDirectory: 'binaries'
54+
4455
- task: DownloadSecureFile@1
4556
inputs:
4657
secureFile: 'local.properties'

‎.azure-pipelines/prValidate.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ steps:
4343
inputs:
4444
debugMode: false
4545

46+
- pwsh: 'Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x64_windows_hotspot_15.0.2_7.zip -OutFile OpenJDK.zip'
47+
displayName: 'Download JDK'
48+
49+
- task: JavaToolInstaller@0
50+
inputs:
51+
versionSpec: '15'
52+
jdkArchitectureOption: 'x64'
53+
jdkSourceOption: 'LocalDirectory'
54+
jdkFile: 'OpenJDK.zip'
55+
jdkDestinationDirectory: 'binaries'
56+
4657
- task: Gradle@2
4758
inputs:
4859
gradleWrapperFile: 'gradlew'

0 commit comments

Comments
 (0)