Skip to content

Commit 757801a

Browse files
authored
feat: migrate away from deprecated graal-sdk dependency to use nativeimage (#2706)
Merge after googleapis/java-shared-config#815 is released and updated in sdk-platform-java. According to the [graal/sdk CHANGELOG](https://github.com/oracle/graal/blob/fefc2a03a1e46ce60ce4b03f223d83640fbef0f4/sdk/CHANGELOG.md#version-2310), the GraalVM SDK was split into smaller modules and the use of graal-sdk is deprecated. The new maven configuration to customize native image generation is: ``` <dependency> <groupId>org.graalvm.sdk</groupId> <artifactId>nativeimage</artifactId> <version>${graalvm.version}</version> </dependency> ```
1 parent 330a261 commit 757801a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gax-java/dependencies.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ maven.com_google_http_client_google_http_client=com.google.http-client:google-ht
7575
maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.45.3
7676
maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.24
7777
maven.javax_annotation_javax_annotation_api=javax.annotation:javax.annotation-api:1.3.2
78-
maven.org_graalvm_sdk=org.graalvm.sdk:graal-sdk:22.3.5
78+
maven.org_graalvm_sdk=org.graalvm.sdk:nativeimage:24.0.1
7979

8080
# Testing maven artifacts
8181
maven.junit_junit=junit:junit:4.13.2

gax-java/gax-grpc/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</dependency>
8585
<dependency>
8686
<groupId>org.graalvm.sdk</groupId>
87-
<artifactId>graal-sdk</artifactId>
87+
<artifactId>nativeimage</artifactId>
8888
<scope>provided</scope>
8989
</dependency>
9090
<dependency>

gax-java/gax/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
</dependency>
6262
<dependency>
6363
<groupId>org.graalvm.sdk</groupId>
64-
<artifactId>graal-sdk</artifactId>
64+
<artifactId>nativeimage</artifactId>
6565
<scope>provided</scope>
6666
</dependency>
6767
<dependency>

0 commit comments

Comments
 (0)