Skip to content

Commit

Permalink
✨ example 默认切换到 gson
Browse files Browse the repository at this point in the history
  • Loading branch information
li-xunhuan committed Dec 6, 2024
1 parent c720b3a commit a8f787d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
|---------|--------------------|
| 2.3.x | :white_check_mark: |
| < 2.3.x | :x: |
| 2.4.x | :white_check_mark: |
| < 2.4.x | :x: |

## Reporting a Vulnerability(报告漏洞)

Expand Down
4 changes: 2 additions & 2 deletions example/mica-mqtt-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<artifactId>mica-net-http</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions mica-mqtt-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<artifactId>mica-net-core</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<scope>provided</scope>
</dependency>
<!-- tinylog 用于测试 -->
Expand Down
14 changes: 10 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<mica-net.version>1.0.8</mica-net.version>
<mica.version>2.7.18.9</mica.version>
<spring.boot.version>2.7.18</spring.boot.version>
<fastjson.version>1.2.83</fastjson.version>
<gson.version>2.11.0</gson.version>
<solon.version>3.0.4</solon.version>
<jfinal.version>5.2.3</jfinal.version>
<tinylog.version>2.7.0</tinylog.version>
Expand Down Expand Up @@ -66,9 +66,15 @@
<version>${mica-net.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.noear</groupId>
Expand Down

0 comments on commit a8f787d

Please sign in to comment.