From ec9a86b9b0c226bdf506cf73255b0d537ce19b43 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Thu, 2 Dec 2021 17:38:00 +0100 Subject: [PATCH] Build: Set default Java version for jenv users (#3651) Project requires Java 8 for full build. Certain modules are not getting compiled when Gradle is run with JDK 11. For example, in jmh.gradle there currently is: if (jdkVersion == '8' && sparkVersions.contains("2.4")) { jmhProjects.add(project(":iceberg-spark:iceberg-spark2")) } Provide explicit default configuration for those using `jenv` to manage multiple JDKs, to help contributors build the project. --- .java-version | 1 + dev/.rat-excludes | 1 + 2 files changed, 2 insertions(+) create mode 100644 .java-version diff --git a/.java-version b/.java-version new file mode 100644 index 000000000..625934097 --- /dev/null +++ b/.java-version @@ -0,0 +1 @@ +1.8 diff --git a/dev/.rat-excludes b/dev/.rat-excludes index 101c0e1dd..48d3a43c9 100644 --- a/dev/.rat-excludes +++ b/dev/.rat-excludes @@ -1,6 +1,7 @@ version.txt versions.lock versions.props +.java-version books.json new-books.json build