Skip to content

Commit

Permalink
Bump lowest supported Java version to 8 in our build files (#307)
Browse files Browse the repository at this point in the history
Doing this prevents warnings about Java 8 being no longer supported when
using a modern JDK and compiling our own supporting code.
  • Loading branch information
shs96c authored Nov 5, 2024
1 parent 8d83528 commit 50fec79
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ java_library(
# available.
javacopts = [
"--release",
"8",
"11",
],
deps = [
# There must never be dependencies
Expand All @@ -52,11 +52,11 @@ java_library(
],
),
javacopts = [
# Target Java 8, no matter which JDK we're on so that we
# Target Java 11, no matter which JDK we're on so that we
# can be sure that `SecurityManager` is present, even if
# someone rebuilds on a JDK that doesn't have it.
"--release",
"8",
"11",
],
resource_strip_prefix = package_name(),
resources = ["META-INF/services/org.junit.jupiter.api.extension.Extension"],
Expand Down

0 comments on commit 50fec79

Please sign in to comment.