Skip to content

Commit

Permalink
Upgrade JDK 17->21
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-punko committed Jun 8, 2024
1 parent 8481e31 commit dcba90c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'maven'

- name: Grant execute permission for mvnw
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'maven'

- name: Grant execute permission for mvnw
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17-jdk-alpine
FROM openjdk:21-jdk-alpine
VOLUME /tmp
EXPOSE 8099
RUN mkdir -p /app/
Expand Down
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The **authors** table should not be updatable via endpoints. Feel free to popula

## Prerequisites
- Maven 3
- JDK 17
- JDK 21

## Build instructions

Expand Down
2 changes: 1 addition & 1 deletion func-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
group 'by.andd3dfx'
version '0.1'

sourceCompatibility = 17
sourceCompatibility = 21

repositories {
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<java.version>17</java.version>
<java.version>21</java.version>

<spring-boot.version>3.3.0</spring-boot.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
Expand Down

0 comments on commit dcba90c

Please sign in to comment.