Skip to content

Commit 778c890

Browse files
committed
Fix qdrant autoconfig test issue
Need to provide grpc-api dependency in provided scope for compilation/test Signed-off-by: Soby Chacko <[email protected]>
1 parent 88f5a0d commit 778c890

File tree

1 file changed

+10
-0
lines changed
  • auto-configurations/vector-stores/spring-ai-qdrant-store-spring-boot-autoconfigure

1 file changed

+10
-0
lines changed

auto-configurations/vector-stores/spring-ai-qdrant-store-spring-boot-autoconfigure/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<developerConnection>[email protected]:spring-projects/spring-ai.git</developerConnection>
3838
</scm>
3939

40+
<properties>
41+
<grpc.version>1.65.1</grpc.version>
42+
</properties>
4043
<dependencies>
4144
<!-- production dependencies -->
4245
<dependency>
@@ -45,6 +48,13 @@
4548
<version>${project.parent.version}</version>
4649
<optional>true</optional>
4750
</dependency>
51+
<!-- Add the specific gRPC dependency needed for compilation -->
52+
<dependency>
53+
<groupId>io.grpc</groupId>
54+
<artifactId>grpc-api</artifactId>
55+
<version>${grpc.version}</version>
56+
<scope>provided</scope>
57+
</dependency>
4858
<dependency>
4959
<groupId>org.springframework.boot</groupId>
5060
<artifactId>spring-boot-starter</artifactId>

0 commit comments

Comments
 (0)