Skip to content

Commit

Permalink
build: add grpc dependency to project
Browse files Browse the repository at this point in the history
Signed-off-by: castlighting <[email protected]>
Co-authored-by: ZhangJian He <[email protected]>
  • Loading branch information
castlighting and hezhangjian committed Dec 25, 2024
1 parent 1c87001 commit 6e18337
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2024 openGemini Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

[default.extend-words]
# abbr
"vertx" = "vertx"
17 changes: 17 additions & 0 deletions opengemini-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@
<version>${okhttp.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-grpc</artifactId>
<version>${vertx.version}</version>
</dependency>
</dependencies>

</project>
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<annotations.version>13.0</annotations.version>
<async-http-client.version>3.0.0.Beta3</async-http-client.version>
<commons-lang3.version>3.17.0</commons-lang3.version>
<grpc.version>1.61.1</grpc.version>
<http-facade.version>0.2.1</http-facade.version>
<jackson.version>2.17.2</jackson.version>
<junit.version>5.11.1</junit.version>
Expand All @@ -52,11 +53,14 @@
<mockito.version>5.13.0</mockito.version>
<okhttp.version>4.12.0</okhttp.version>
<puppycrawl.version>10.18.1</puppycrawl.version>
<protobuf.version>3.25.1</protobuf.version>
<protoc.version>3.25.1</protoc.version>
<reactor-netty.version>1.1.21</reactor-netty.version>
<scala.version>3.4.0</scala.version>
<slf4j.version>2.0.7</slf4j.version>
<spring.version>6.0.19</spring.version>
<spring-boot.version>3.1.11</spring-boot.version>
<vertx.version>4.5.10</vertx.version>
<!-- plugin -->
<central-publishing-maven-plugin.version>0.6.0</central-publishing-maven-plugin.version>
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
Expand All @@ -70,6 +74,8 @@
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.5.0</maven-surefire-plugin.version>
<maven-os-maven-plugin.version>1.7.1</maven-os-maven-plugin.version>
<maven-protobuf-maven-plugin>0.6.1</maven-protobuf-maven-plugin>
<nexus-staging-plugin.version>1.6.13</nexus-staging-plugin.version>
<scala-maven-plugin.version>4.9.2</scala-maven-plugin.version>
<spotbugs-maven-plugin.version>4.8.6.4</spotbugs-maven-plugin.version>
Expand All @@ -95,6 +101,13 @@
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>${grpc.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -146,6 +159,13 @@
</dependencies>

<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>${maven-os-maven-plugin.version}</version>
</extension>
</extensions>
<sourceDirectory>${src.dir}</sourceDirectory>
<plugins>
<plugin>
Expand Down

0 comments on commit 6e18337

Please sign in to comment.