Skip to content

Commit

Permalink
Build: Set default Java version for jenv users (#3651)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
findepi authored Dec 2, 2021
1 parent 699bdd1 commit ec9a86b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.8
1 change: 1 addition & 0 deletions dev/.rat-excludes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version.txt
versions.lock
versions.props
.java-version
books.json
new-books.json
build
Expand Down

0 comments on commit ec9a86b

Please sign in to comment.