Skip to content

Commit c0039c8

Browse files
authored
Update minimum version to Java 17 (#246)
1 parent 1d127e3 commit c0039c8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master, viz-engine ]
5+
branches: [ master ]
66

77
jobs:
88
build:
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Maven Central Repository
1313
uses: actions/setup-java@v5
1414
with:
15-
java-version: '11'
15+
java-version: '17'
1616
distribution: 'temurin'
1717
server-id: central
1818
server-username: OSSRH_USER

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v5
11-
- name: Set up JDK 11
11+
- name: Set up JDK 17
1212
uses: actions/setup-java@v5
1313
with:
14-
java-version: '11'
14+
java-version: '17'
1515
distribution: 'temurin'
1616
- name: Build project with Maven
1717
run: mvn -B package --file pom.xml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ compile 'org.gephi:graphstore:0.7.3'
5353

5454
## Dependencies
5555

56-
GraphStore is built for JRE 11+ and depends on FastUtil and Colt.
56+
GraphStore is built for JRE 17+ and depends on FastUtil and Colt.
5757

5858
For a complete list of dependencies, consult the `pom.xml` file.
5959

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<properties>
5151
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5252
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
53-
<maven.compiler.source>11</maven.compiler.source>
54-
<maven.compiler.target>11</maven.compiler.target>
53+
<maven.compiler.source>17</maven.compiler.source>
54+
<maven.compiler.target>17</maven.compiler.target>
5555
<github.global.server>github</github.global.server>
5656
</properties>
5757

@@ -293,7 +293,7 @@
293293
<detectLinks>true</detectLinks>
294294
<detectOfflineLinks>true</detectOfflineLinks>
295295
<doclint>none</doclint>
296-
<source>11</source>
296+
<source>17</source>
297297
</configuration>
298298
</plugin>
299299
</plugins>

0 commit comments

Comments
 (0)