Skip to content

Commit 88f7283

Browse files
committed
add java25 runtime support to springboot4
1 parent b81f00b commit 88f7283

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

aws-serverless-java-container-springboot4/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
<groupId>org.apache.maven.plugins</groupId>
114114
<artifactId>maven-compiler-plugin</artifactId>
115115
<configuration>
116-
<source>21</source>
117-
<target>21</target>
116+
<source>25</source>
117+
<target>25</target>
118118
</configuration>
119119
</plugin>
120120
</plugins>

aws-serverless-springboot4-archetype/src/main/resources/archetype-resources/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Resources:
3232
Type: AWS::Serverless::Function
3333
Properties:
3434
Handler: ${groupId}.StreamLambdaHandler::handleRequest
35-
Runtime: java21
35+
Runtime: java25
3636
CodeUri: .
3737
MemorySize: 512
3838
Policies: AWSLambdaBasicExecutionRole

samples/springboot4/alt-pet-store/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apply plugin: 'java'
22

33
java {
4-
sourceCompatibility = JavaVersion.VERSION_21
5-
targetCompatibility = JavaVersion.VERSION_21
4+
sourceCompatibility = JavaVersion.VERSION_25
5+
targetCompatibility = JavaVersion.VERSION_25
66
}
77

88
repositories {

samples/springboot4/alt-pet-store/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</licenses>
2626

2727
<properties>
28-
<java.version>17</java.version>
28+
<java.version>25</java.version>
2929
</properties>
3030

3131
<dependencies>

samples/springboot4/alt-pet-store/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Resources:
1414
# AutoPublishAlias: bcn
1515
FunctionName: pet-store-boot-4
1616
Handler: com.amazonaws.serverless.proxy.spring.SpringDelegatingLambdaContainerHandler::handleRequest
17-
Runtime: java21
17+
Runtime: java25
1818
SnapStart:
1919
ApplyOn: PublishedVersions
2020
CodeUri: .

samples/springboot4/graphql-pet-store/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</licenses>
2626

2727
<properties>
28-
<java.version>17</java.version>
28+
<java.version>25</java.version>
2929
</properties>
3030

3131
<dependencies>

samples/springboot4/graphql-pet-store/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Resources:
1212
Type: AWS::Serverless::Function
1313
Properties:
1414
Handler: com.amazonaws.serverless.sample.springboot4.StreamLambdaHandler::handleRequest
15-
Runtime: java21
15+
Runtime: java25
1616
CodeUri: .
1717
MemorySize: 1024
1818
Policies: AWSLambdaBasicExecutionRole

samples/springboot4/pet-store-native/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<name>pet-store-native-springboot4</name>
1616
<description>Sample of AWS with Spring Boot 4.0 Native</description>
1717
<properties>
18-
<java.version>17</java.version>
18+
<java.version>25</java.version>
1919
</properties>
2020
<dependencies>
2121
<dependency>

samples/springboot4/pet-store/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apply plugin: 'java'
22

33
java {
4-
sourceCompatibility = JavaVersion.VERSION_21
5-
targetCompatibility = JavaVersion.VERSION_21
4+
sourceCompatibility = JavaVersion.VERSION_25
5+
targetCompatibility = JavaVersion.VERSION_25
66
}
77

88
repositories {

samples/springboot4/pet-store/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</licenses>
2626

2727
<properties>
28-
<java.version>17</java.version>
28+
<java.version>25</java.version>
2929
</properties>
3030

3131
<dependencies>

0 commit comments

Comments
 (0)