mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
lower JDK version to 17
This commit is contained in:
parent
45943a3e32
commit
fdf4d9a89c
39
README.md
Normal file
39
README.md
Normal 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
|
||||
```
|
@ -28,7 +28,7 @@ dependencies {
|
||||
// Apply a specific Java toolchain to ease working on different environments.
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(23)
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user