File tree Expand file tree Collapse file tree
src/main/java/com/flyjingfish/androidaop Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686
8787# AndroidAop必备混淆规则 -----end-----
8888
89- #-printmapping proguard-map.txt
89+ #-printmapping proguard-map.txt
90+
91+ -keep class * extends android.view.View {
92+ <init>(...);
93+ }
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ import com.flyjingfish.android_aop_annotation.anno.AndroidAopReplaceClass
88import com.flyjingfish.android_aop_annotation.anno.AndroidAopReplaceMethod
99import com.flyjingfish.android_aop_annotation.enums.MatchType
1010
11+ /* *
12+ * 注意配合混淆规则,防止构造方法被删掉
13+ */
14+
1115@AndroidAopReplaceClass(" android.view.View" , type = MatchType .EXTENDS )
1216object ViewReplaceAop {
1317
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ SonatypeTestCode = 1702
4747TestType = -1
4848publishGradle = 0
4949
50- androidAop.debugMode = true
50+ androidAop.debugMode = false
5151androidAop.debugMode.variantOnlyDebug = true
5252androidAop.reflectInvokeMethod = false
5353androidAop.reflectInvokeMethod.variantOnlyDebug = false
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ plugins {
99apply from : " $rootDir /gradle/android_base.gradle"
1010android {
1111 namespace ' com.flyjingfish.test_lib'
12- compileSdk 33
13- lint {
14- targetSdk 33
15- }
16- testOptions {
17- targetSdk 33
18- }
12+ // compileSdk 33
13+ // lint {
14+ // targetSdk 33
15+ // }
16+ // testOptions {
17+ // targetSdk 33
18+ // }
1919// kotlinOptions {
2020// jvmTarget = '11'
2121// }
You can’t perform that action at this time.
0 commit comments