Skip to content

Commit

Permalink
fix: 更新pb版本 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
styluo authored Mar 27, 2023
1 parent 6cdb308 commit a9723f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GrowingIO提供在Server端部署的SDK,从而可以方便的进行事件上
## Support Java Version

```java
java 6+
java 7+
```

## 依赖
Expand All @@ -19,7 +19,7 @@ pom.xml
<dependency>
<groupId>io.growing.sdk.java</groupId>
<artifactId>growingio-java-sdk</artifactId>
<version>1.0.12-cdp</version>
<version>1.0.13-cdp</version>
</dependency>
</dependencies>
```
Expand All @@ -30,7 +30,7 @@ pom.xml
<dependency>
<groupId>io.growing.sdk.java</groupId>
<artifactId>growingio-java-sdk</artifactId>
<version>1.0.12-cdp</version>
<version>1.0.13-cdp</version>
<classifier>standalone</classifier>
<exclusions>
<exclusion>
Expand All @@ -44,13 +44,13 @@ pom.xml
如果使用gradle依赖,可以使用如下集成方式

```gradle
implementation 'io.growing.sdk.java:growingio-java-sdk:1.0.12-cdp'
implementation 'io.growing.sdk.java:growingio-java-sdk:1.0.13-cdp'
```

若出现依赖冲突的问题(例如运行时找不到类),可以选择使用 standalone

```gradle
implementation('io.growing.sdk.java:growingio-java-sdk:1.0.12-cdp:standalone') {
implementation('io.growing.sdk.java:growingio-java-sdk:1.0.13-cdp:standalone') {
exclude module: 'protobuf-java'
}
```
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
<jdk.version>1.6</jdk.version>
<downloadSources>true</downloadSources>
<!-- 低版本 release 之后,此 version 需要升级,避免 低版本 snapshot 重复 deploy -->
<gio-java-sdk-version>1.0.12</gio-java-sdk-version>
<gio-java-sdk-version>1.0.13</gio-java-sdk-version>
</properties>

<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.11.1</version>
<version>3.21.7</version>
</dependency>

<dependency>
Expand Down

0 comments on commit a9723f2

Please sign in to comment.