Skip to content

Commit ae4372f

Browse files
Build against java 8, but only support 11 and 17
1 parent acfd0dd commit ae4372f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
java_version: [8, 11]
34+
java_version: [11, 17]
3535
os: [windows-latest, macOS-latest, ubuntu-latest]
3636
distribution: [ adopt ]
3737
steps:

Readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ This module provides a new `TableSchema` implementation that adds support for ko
1919

2020
Follow the instructions on Jitpack.
2121

22+
## Requirements
23+
24+
Minimum Java 8. However, only 11 and 17 are officially supported.
25+
2226
## Quickstart
2327

2428
```kotlin

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ repositories {
1010
maven { url = uri("https://jitpack.io") }
1111
}
1212

13+
kotlin {
14+
jvmToolchain(8)
15+
}
16+
1317
dependencies {
1418
implementation(kotlin("stdlib"))
1519
implementation(kotlin("reflect"))
@@ -43,4 +47,4 @@ publishing {
4347
from(components["kotlin"])
4448
}
4549
}
46-
}
50+
}

0 commit comments

Comments
 (0)