Skip to content

Commit d37fa9d

Browse files
committed
Document v4 support in the README
1 parent 2edcb2d commit d37fa9d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
![Java 17+](https://img.shields.io/badge/Java-17%2B-brown?logo=openjdk&logoColor=white)
1+
![Java 11+](https://img.shields.io/badge/V4-jdk11%2B-green?logo=openjdk&logoColor=white)
2+
![Java 17+](https://img.shields.io/badge/V5-jdk17%2B-blue?logo=openjdk&logoColor=white)
23
[![Build Status](https://github.com/ascopes/java-compiler-testing/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/ascopes/java-compiler-testing/actions/workflows/build.yml)
34
[![Maven Central](https://img.shields.io/maven-central/v/io.github.ascopes.jct/java-compiler-testing)](https://repo1.maven.org/maven2/io/github/ascopes/jct/java-compiler-testing)
45
[![Code Coverage](https://codecov.io/gh/ascopes/java-compiler-testing/branch/main/graph/badge.svg?token=VT74BP2742)](https://codecov.io/gh/ascopes/java-compiler-testing)
@@ -85,6 +86,12 @@ dependencies {
8586
}
8687
```
8788

89+
For Java 11 support, you should use the v4.x version of this library. If you
90+
only need to build on Java 17 or newer, you should use the v5.x version of this
91+
library. This does not affect the versions of Java you can write tests to cross
92+
compile against, but affects the versions of various dependencies and the
93+
bytecode version of this library itself.
94+
8895
## JPMS
8996

9097
If your tests make use of JPMS (i.e. they have a `module-info.java` somewhere), then you will want

0 commit comments

Comments
 (0)