From 772c49f5c9b1a216442e22d2ce9e7ecdcec68bb1 Mon Sep 17 00:00:00 2001 From: Russell Date: Sun, 2 Oct 2022 20:54:52 -0400 Subject: [PATCH] Use Java 11 in CI --- azure-pipelines-deploy.yml | 20 ++------------------ azure-pipelines.yml | 4 ++-- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/azure-pipelines-deploy.yml b/azure-pipelines-deploy.yml index 0416a225..77f6edcb 100644 --- a/azure-pipelines-deploy.yml +++ b/azure-pipelines-deploy.yml @@ -4,22 +4,6 @@ pr: none jobs: - job: "General" steps: - - task: Bash@3 - inputs: - targetType: 'inline' - script: | - mkdir -p ./jdk/binaries/ - curl https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz --output ./jdk/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz - - - task: JavaToolInstaller@0 - inputs: - jdkFile: ./jdk/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz - versionSpec: "11" - jdkArchitectureOption: x64 - jdkSourceOption: LocalDirectory - jdkDestinationDirectory: "./jdk/binaries/" - cleanDestinationDirectory: true - - task: Gradle@2 inputs: workingDirectory: '' @@ -48,7 +32,7 @@ jobs: gradleWrapperFile: 'gradlew' gradleOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' + jdkVersionOption: '11' jdkArchitectureOption: 'x64' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' @@ -70,7 +54,7 @@ jobs: gradleWrapperFile: 'gradlew' gradleOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' + jdkVersionOption: '11' jdkArchitectureOption: 'x64' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ebe8c539..ce2f3184 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -64,7 +64,7 @@ jobs: gradleWrapperFile: 'gradlew' gradleOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' + jdkVersionOption: '11' jdkArchitectureOption: 'x64' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' @@ -113,7 +113,7 @@ jobs: gradleWrapperFile: 'gradlew' gradleOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' + jdkVersionOption: '11' jdkArchitectureOption: 'x64' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml'