Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[High Priority] Excavator: Update gradle-jdks infrastructure plugins #7334

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ buildscript {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.18.0'
classpath 'com.palantir.gradle.failure-reports:gradle-failure-reports:1.13.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:3.1.0'
classpath 'com.palantir.gradle.jdks:gradle-jdks:0.48.0'
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.15.0'
classpath 'com.palantir.gradle.jdks:gradle-jdks:0.53.0'
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.16.0'
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.50.0'
classpath 'com.palantir.metricschema:gradle-metric-schema:0.32.0'
classpath 'com.palantir.sls-packaging:gradle-sls-packaging:7.13.0'
Expand Down
Binary file modified gradle/gradle-jdks-setup.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/gradle-jdks-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ gradle_daemon_jdk_distribution_local_path=$(read_value "$APP_GRADLE_DIR"/jdks/"$
"$GRADLE_JDKS_HOME"/"$gradle_daemon_jdk_distribution_local_path"/bin/java -cp "$APP_GRADLE_DIR"/gradle-jdks-setup.jar com.palantir.gradle.jdks.setup.GradleJdkInstallationSetup daemonSetup "$APP_HOME" "$GRADLE_JDKS_HOME/$gradle_daemon_jdk_distribution_local_path"

# [Used by ./gradlew only] Setting the Gradle Daemon Java Home to the JDK distribution
set -- "-Dorg.gradle.java.home=$GRADLE_JDKS_HOME/$gradle_daemon_jdk_distribution_local_path" "$@"
export GRADLE_DAEMON_JDK="$GRADLE_JDKS_HOME/$gradle_daemon_jdk_distribution_local_path"
set -- "-Dorg.gradle.java.home=$GRADLE_DAEMON_JDK" "$@"

cleanup
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-glibc/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-linux-aarch64.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-linux-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-glibc/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-glibc/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-linux-x64.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-glibc/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-glibc/x86/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-linux-i386.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-linux-i386.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-glibc/x86/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-musl/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-alpine-linux-aarch64.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-alpine-linux-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-musl/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-musl/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-alpine-linux-x64.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-alpine-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/linux-musl/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/macos/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-macosx-aarch64.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-macosx-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/macos/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/macos/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-macosx-x64.tar.gz
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-macosx-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/11/macos/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/windows/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-windows-x64-jdk.zip
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-windows-x64-jdk.zip
2 changes: 1 addition & 1 deletion gradle/jdks/11/windows/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/11/windows/x86/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/11.0.24.8.1/amazon-corretto-11.0.24.8.1-windows-i386-jdk.zip
https://corretto.aws/downloads/resources/11.0.25.9.1/amazon-corretto-11.0.25.9.1-windows-i386-jdk.zip
2 changes: 1 addition & 1 deletion gradle/jdks/11/windows/x86/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-11.0.24.8.1
amazon-corretto-11.0.25.9.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-glibc/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-linux-aarch64.tar.gz
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-linux-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-glibc/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-glibc/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-linux-x64.tar.gz
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-glibc/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-musl/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-alpine-linux-aarch64.tar.gz
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-alpine-linux-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-musl/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-musl/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-alpine-linux-x64.tar.gz
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-alpine-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/17/linux-musl/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/macos/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-macosx-aarch64.tar.gz
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-macosx-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/17/macos/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/macos/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-macosx-x64.tar.gz
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-macosx-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/17/macos/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/17/windows/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/17.0.12.7.1/amazon-corretto-17.0.12.7.1-windows-x64-jdk.zip
https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-windows-x64-jdk.zip
2 changes: 1 addition & 1 deletion gradle/jdks/17/windows/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-17.0.12.7.1
amazon-corretto-17.0.13.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-glibc/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-linux-aarch64.tar.gz
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-linux-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-glibc/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-glibc/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-linux-x64.tar.gz
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-glibc/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-musl/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-alpine-linux-aarch64.tar.gz
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-alpine-linux-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-musl/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-musl/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-alpine-linux-x64.tar.gz
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-alpine-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/21/linux-musl/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/macos/aarch64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-macosx-aarch64.tar.gz
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-macosx-aarch64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/21/macos/aarch64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/macos/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-macosx-x64.tar.gz
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-macosx-x64.tar.gz
2 changes: 1 addition & 1 deletion gradle/jdks/21/macos/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 1 addition & 1 deletion gradle/jdks/21/windows/x86-64/download-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-windows-x64-jdk.zip
https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-windows-x64-jdk.zip
2 changes: 1 addition & 1 deletion gradle/jdks/21/windows/x86-64/local-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
amazon-corretto-21.0.4.7.1
amazon-corretto-21.0.5.11.1
2 changes: 2 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ if [ -f gradle/gradle-jdks-setup.sh ]; then
echo "Failed to set up JDK, running gradle/gradle-jdks-setup.sh failed with non-zero exit code"
exit 1
fi
# Setting JAVA_HOME to the gradle daemon to make sure gradlew uses this jdk for `JAVACMD`
JAVA_HOME="$GRADLE_DAEMON_JDK"
fi
# <<< Gradle JDK setup <<<

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
gradlePluginPortal() { metadataSources { mavenPom(); ignoreGradleMetadataRedirection() } }
}
dependencies {
classpath 'com.palantir.gradle.jdks:gradle-jdks-settings:0.48.0'
classpath 'com.palantir.gradle.jdks:gradle-jdks-settings:0.53.0'
}
}
plugins {
Expand Down