Skip to content

Commit 3c2a0ed

Browse files
committed
feat: update sdk version to 24
1 parent 656a1dc commit 3c2a0ed

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

.github/workflows/comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/checkout@v4
3535
- uses: graalvm/setup-graalvm@v1
3636
with:
37-
java-version: '21'
37+
java-version: '24'
3838
distribution: 'graalvm' # See 'Options' for all available distributions
3939
github-token: ${{ secrets.GITHUB_TOKEN }}
4040
- name: AOT Compilation

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/checkout@v4
6262
- uses: graalvm/setup-graalvm@v1
6363
with:
64-
java-version: '21'
64+
java-version: '24'
6565
distribution: 'graalvm' # See 'Options' for all available distributions
6666
github-token: ${{ secrets.GITHUB_TOKEN }}
6767
- name: Native Image Build

graal/pom.xml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<groupId>org.springframework.boot</groupId>
2020
<artifactId>spring-boot-starter-parent</artifactId>
21-
<version>3.3.4</version>
21+
<version>3.4.5</version>
2222
<relativePath/> <!-- lookup parent from repository -->
2323
</parent>
2424
<groupId>io.sixwaaaay</groupId>
@@ -27,7 +27,7 @@
2727
<name>sharing-comment</name>
2828
<description>sharing-comment</description>
2929
<properties>
30-
<java.version>21</java.version>
30+
<java.version>24</java.version>
3131
<resilience4jVersion>2.1.0</resilience4jVersion>
3232
<jjwtVersion>0.11.5</jjwtVersion>
3333
</properties>
@@ -96,7 +96,6 @@
9696
<dependency>
9797
<groupId>org.projectlombok</groupId>
9898
<artifactId>lombok</artifactId>
99-
<version>1.18.34</version>
10099
<optional>true</optional>
101100
</dependency>
102101
<dependency>
@@ -145,11 +144,27 @@
145144
<plugin>
146145
<groupId>org.jacoco</groupId>
147146
<artifactId>jacoco-maven-plugin</artifactId>
148-
<version>0.8.11</version>
147+
<version>0.8.13</version>
149148
</plugin>
150149
</plugins>
151150
</pluginManagement>
152151
<plugins>
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-compiler-plugin</artifactId>
155+
<configuration>
156+
<annotationProcessorPaths>
157+
<path>
158+
<groupId>org.projectlombok</groupId>
159+
<artifactId>lombok</artifactId>
160+
</path>
161+
<path>
162+
<groupId>org.springframework.boot</groupId>
163+
<artifactId>spring-boot-configuration-processor</artifactId>
164+
</path>
165+
</annotationProcessorPaths>
166+
</configuration>
167+
</plugin>
153168
<plugin>
154169
<groupId>org.graalvm.buildtools</groupId>
155170
<artifactId>native-maven-plugin</artifactId>
@@ -159,6 +174,7 @@
159174
</metadataRepository>
160175
<buildArgs combine.children="append">
161176
<arg>-march=compatibility</arg>
177+
<arg>--verbose</arg>
162178
</buildArgs>
163179
</configuration>
164180
</plugin>

graal/src/main/java/io/sixwaaaay/sharingcomment/config/DataSourceConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ JdbcMappingContext jdbcMappingContext(Optional<NamingStrategy> namingStrategy, J
135135
// converter
136136
@Bean
137137
JdbcConverter jdbcConverter(JdbcMappingContext context, NamedParameterJdbcOperations operations, @Lazy RelationResolver relationResolver, JdbcCustomConversions conversions, Dialect dialect) {
138-
var jdbcTypeFactory = new DefaultJdbcTypeFactory(operations.getJdbcOperations());
139-
return new BasicJdbcConverter(context, relationResolver, conversions, jdbcTypeFactory, dialect.getIdentifierProcessing());
138+
// return new BasicJdbcConverter(context, relationResolver, conversions, jdbcTypeFactory, dialect.getIdentifierProcessing());
139+
return new MappingJdbcConverter(context, relationResolver);
140140
}
141141
}

0 commit comments

Comments
 (0)