Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Note: the ./ is required in front of the key file name to tell gpg to look local

## Building overview

This project can now be built and tested with JDK21.
This project can now be built and tested with JDK25.

If the build script detects BC_JDK8, BC_JDK11, BC_JDK17 it will add to the usual test task a dependency on test tasks
that specifically use the JVMs addressed by those environmental variables. The script relies on JAVA_HOME for picking up Java 21 if it is use.
If the build script detects BC_JDK8, BC_JDK11, BC_JDK17, BC_JDK21 it will add to the usual test task a dependency on test tasks
that specifically use the JVMs addressed by those environmental variables. The script relies on JAVA_HOME for picking up Java 25 if it is use.

We support testing on specific JVMs as it is the only way to be certain the library is compatible.

Expand All @@ -43,6 +43,7 @@ The following environmental variables can optionally point to the JAVA_HOME for
export BC_JDK8=/path/to/java8
export BC_JDK11=/path/to/java11
export BC_JDK17=/path/to/java17
export BC_JDK21=/path/to/java21
```

## Building
Expand All @@ -52,8 +53,8 @@ The project now uses ```gradlew``` which can be invoked for example:
```
# from the root of the project

# Ensure JAVA_HOME points to JDK 21 or higher JAVA_HOME or that
# gradlew can find a java 21 installation to use.
# Ensure JAVA_HOME points to JDK 25 or higher JAVA_HOME or that
# gradlew can find a java 25 installation to use.


./gradlew clean build
Expand All @@ -71,9 +72,10 @@ If the env vars are defined:
export BC_JDK8=/path/to/java8
export BC_JDK11=/path/to/java11
export BC_JDK17=/path/to/java17
export BC_JDK21=/path/to/java21
```

If only a Java 21 JDK is present then the normal test task and test21 are run only.
If only a Java 25 JDK is present then the normal test task and test25 are run only.


## Code Organisation
Expand Down