You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/06/28 01:50:33 UTC
[iceberg] branch master updated: Build: Print used JDK version (#5138)
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 2262f67ae Build: Print used JDK version (#5138)
2262f67ae is described below
commit 2262f67ae8fdc8ee71c7d9f67f81d4c5598fca6a
Author: Eduard Tudenhöfner <et...@gmail.com>
AuthorDate: Tue Jun 28 03:50:28 2022 +0200
Build: Print used JDK version (#5138)
---
build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 049ca17e3..12f1ae95a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -53,7 +53,7 @@ if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
} else if (JavaVersion.current() == JavaVersion.VERSION_11) {
project.ext.jdkVersion = '11'
} else {
- throw new GradleException("This build must be run with JDK 8 or 11")
+ throw new GradleException("This build must be run with JDK 8 or 11 but was executed with JDK " + JavaVersion.current())
}
dependencyRecommendations {