Skip to content

Commit 470b744

Browse files
committed
bumped to java 11, altered CI to target java 11
Signed-off-by: jarebudev <[email protected]>
1 parent 4125ae8 commit 470b744

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pullrequest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
build:
1414
- java: 17
1515
profile: codequality
16-
- java: 8
16+
- java: 11
1717
profile: java8
1818
name: with Java ${{ matrix.build.java }}
1919
runs-on: ${{ matrix.os}}
2020
steps:
2121
- name: Check out the code
2222
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
2323

24-
- name: Set up JDK 8
24+
- name: Set up JDK 11
2525
uses: actions/setup-java@b8ebb8ba1d9655f7f159c0a8b8135606ae11b5c9
2626
with:
2727
java-version: ${{ matrix.build.java }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
### Requirements
4848

49-
- Java 8+ (compiler target is 1.8)
49+
- Java 11+ (compiler target is 11)
5050

5151
Note that this library is intended to be used in server-side contexts and has not been evaluated for use on mobile devices.
5252

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<properties>
1111
<toolchain.jdk.version>[17,)</toolchain.jdk.version>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13-
<maven.compiler.source>1.8</maven.compiler.source>
13+
<maven.compiler.source>11</maven.compiler.source>
1414
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
1515
<junit.jupiter.version>5.12.1</junit.jupiter.version>
1616
<io.cucumber.version>7.21.1</io.cucumber.version>
@@ -20,7 +20,7 @@
2020
<module-name>${project.groupId}.${project.artifactId}</module-name>
2121
<skip.tests>false</skip.tests>
2222
<!-- this will throw an error if we use wrong apis -->
23-
<maven.compiler.release>8</maven.compiler.release>
23+
<maven.compiler.release>11</maven.compiler.release>
2424
</properties>
2525

2626
<name>OpenFeature Java SDK</name>

0 commit comments

Comments
 (0)