Skip to content

Commit

Permalink
upgrade to java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mandawilson committed Jan 25, 2024
1 parent 0f4e72e commit 007d213
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
docker:
# specify the version you desire here
- image: cimg/openjdk:11.0.20-browsers
- image: cimg/openjdk:21.0.0-browsers

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand Down
7 changes: 3 additions & 4 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
jdk:
- openjdk11
- openjdk21
before_install:
- sdk install java 11.0.20-tem
- sdk use java 11.0.20-tem
- sdk install java 21.0.1-open
- sdk use java java 21.0.1-open
- sdk install maven
- mvn -v
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.3.RELEASE</version>
<version>2.7.18</version>
</parent>

<properties>
<java.version>11</java.version>
<java.version>21</java.version>
<slf4j.version>1.7.30</slf4j.version>
<spring.version>5.2.6.RELEASE</spring.version>
<spring.version>5.3.31</spring.version>
<jackson.version>2.11.2</jackson.version>
</properties>

Expand Down Expand Up @@ -108,7 +108,7 @@
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.6.2</version>
<version>5.10.1</version>
<scope>test</scope>
</dependency>
<!-- api client -->
Expand All @@ -125,13 +125,13 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>4.6.1</version>
<version>5.8.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>4.6.1</version>
<version>5.2.0</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy-dep -->
Expand Down

0 comments on commit 007d213

Please sign in to comment.