Skip to content

Commit

Permalink
防止参数重名
Browse files Browse the repository at this point in the history
  • Loading branch information
ltttttttttttt committed Mar 15, 2023
1 parent d1de1c1 commit d9b12a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Configure packages that require virtual reflection, Your app dir, build.gradle.k

```kotlin
ksp {
arg("packageList", "com.lt.virtual_reflection.bean/*your package*/")
arg("packageListVirtualReflection", "com.lt.virtual_reflection.bean/*your package*/")
}
```

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Step 3.使用VirtualReflection

```kotlin
ksp {
arg("packageList", "com.lt.virtual_reflection.bean/*你的包路径*/")
arg("packageListWithVirtualReflection", "com.lt.virtual_reflection.bean/*你的包路径*/")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import com.lt.reflection.ifNullOfEmpty
*/
internal class KspOptions(environment: SymbolProcessorEnvironment) {
private val options = environment.options
private val packageList = "packageList"
private val packageList = "packageListVirtualReflection"

/**
* 具体哪些包(完全相等)中的类需要虚拟反射功能,逗号隔开
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ android {
//}
//ksp配置
ksp {
arg("packageList", "com.lt.virtual_reflection.bean")
arg("packageListVirtualReflection", "com.lt.virtual_reflection.bean")
}
}

Expand Down

0 comments on commit d9b12a1

Please sign in to comment.