Skip to content

Commit

Permalink
修复某些三方库导致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed Dec 12, 2023
1 parent 3c9fe27 commit 01ad447
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
buildscript {
dependencies {
//必须项 👇
classpath 'io.github.FlyJingFish.AndroidAop:android-aop-plugin:1.2.1'
classpath 'io.github.FlyJingFish.AndroidAop:android-aop-plugin:1.2.2'
}
}
plugins {
Expand Down Expand Up @@ -78,12 +78,12 @@ plugins {
dependencies {
//必须项 👇
implementation 'io.github.FlyJingFish.AndroidAop:android-aop-core:1.2.1'
implementation 'io.github.FlyJingFish.AndroidAop:android-aop-annotation:1.2.1'
implementation 'io.github.FlyJingFish.AndroidAop:android-aop-core:1.2.2'
implementation 'io.github.FlyJingFish.AndroidAop:android-aop-annotation:1.2.2'
//非必须项 👇,如果你想自定义切面需要用到,⚠️支持Java和Kotlin代码写的切面
ksp 'io.github.FlyJingFish.AndroidAop:android-aop-ksp:1.2.1'
ksp 'io.github.FlyJingFish.AndroidAop:android-aop-ksp:1.2.2'
//非必须项 👇,如果你想自定义切面需要用到,⚠️只适用于Java代码写的切面
annotationProcessor 'io.github.FlyJingFish.AndroidAop:android-aop-processor:1.2.1'
annotationProcessor 'io.github.FlyJingFish.AndroidAop:android-aop-processor:1.2.2'
//⚠️上边的 android-aop-ksp 和 android-aop-processor 二选一
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ abstract class AssembleAndroidAopTask : DefaultTask() {
// if (jarEntry.isDirectory || entryName.isEmpty() || !entryName.endsWith(_CLASS) || entryName.startsWith("META-INF/")) {
// continue
// }
if (jarEntry.isDirectory || entryName.isEmpty() || entryName.startsWith("META-INF/")) {
if (jarEntry.isDirectory || entryName.isEmpty() || entryName.startsWith("META-INF/") || "module-info.class" == entryName) {
continue
}

Expand Down Expand Up @@ -333,7 +333,8 @@ abstract class AssembleAndroidAopTask : DefaultTask() {


} catch (e: Exception) {
throw RuntimeException("Merge jar error entry:[${jarEntry.name}], error message:$e,通常情况下你需要先重启Android Studio,然后clean一下项目即可,如果还有问题请到Github联系作者")
// throw RuntimeException("Merge jar error entry:[${jarEntry.name}], error message:$e,通常情况下你需要先重启Android Studio,然后clean一下项目即可,如果还有问题请到Github联系作者")
logger.error("Merge jar error entry:[${jarEntry.name}], error message:$e,通常情况下你需要先重启Android Studio,然后clean一下项目即可,如果还有问题请到Github联系作者")
}
}
jarFile.close()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ DEVELOPER_ID=FlyJingFish
DEVELOPER_NAME=FlyJingFish
DEVELOPER_EMAIL=[email protected]

TestVersion = 1.2.1
TestVersion = 1.2.2
SonatypeTestCode = 1297
TestType = 0
# 0 mavenLocal 1 SonatypeCache 2 mavenCentral
4 changes: 2 additions & 2 deletions version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Tue Dec 12 11:34:04 CST 2023
PROJ_VERSION=1.2.1
#Tue Dec 12 18:09:30 CST 2023
PROJ_VERSION=1.2.2

0 comments on commit 01ad447

Please sign in to comment.