lower JDK version to 17

This commit is contained in:
Daniel Langbein 2024-11-19 19:15:58 +01:00
parent 45943a3e32
commit fdf4d9a89c
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 40 additions and 1 deletions

39
README.md Normal file
View File

@ -0,0 +1,39 @@
# Bring Powersort to Java
## Gradle
### Setup
Check which Java toolchains can be found by Gradle:
```shell
./gradlew javaToolchains
```
This should include version >= 17, e.g.:
```
+ N/A JDK 23-ga
| Location: /nix/store/48290hnlb13xmwjw9y16a1s785993bv7-openjdk-23-ga/lib/openjdk
| Language Version: 23
| Vendor: N/A
| Architecture: amd64
| Is JDK: true
| Detected by: Current JVM
```
### Tasks
List all tasks:
```shell
./gradlew tasks
```
## Test Cases
Run the task "test":
```shell
./gradlew test
```

View File

@ -28,7 +28,7 @@ dependencies {
// Apply a specific Java toolchain to ease working on different environments. // Apply a specific Java toolchain to ease working on different environments.
java { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(23) languageVersion = JavaLanguageVersion.of(17)
} }
} }