Skip to content

Commit

Permalink
临时更换为jitpack导入依赖
Browse files Browse the repository at this point in the history
Maven中央仓库打包意外,暂时使用jitpack仓库。
  • Loading branch information
1250422131 authored Aug 16, 2023
1 parent 538f29f commit 6c0a290
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ plugins {
id("com.google.devtools.ksp") version "1.9.0-1.0.11"
}

implementation("com.imcys.deeprecopy:core:<version>")
ksp("com.imcys.deeprecopy:compiler:<version>")
implementation("com.github.1250422131.DeepReCopy:core:<version>")
ksp("com.github.1250422131.DeepReCopy:compiler:<version>")
```

## 为什么要深拷贝
Expand Down Expand Up @@ -82,13 +82,13 @@ EnhancedData是用来增强Data类的,现阶段它只有对Data类进行扩展

我们看一则例子:

```kotlin
```kotlin
@EnhancedData
data class AData(val name: String, val title: String, val bData: BData)

@EnhancedData
data class BData(val doc: String, val content: String)
```
```

当对AData和BData顶上注解后我们点击Android Studio的Build。

Expand Down

0 comments on commit 6c0a290

Please sign in to comment.