File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
src/main/java/com/fmt/github/aspectj Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ dependencies {
7272 implementation ' com.google.android.material:material:1.4.0'
7373
7474 // 协程
75- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
76- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'
75+ // implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
76+ // implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'
7777
7878 // Android KTX 是一组 Kotlin 扩展程序,属于 Android Jetpack 系列
7979 implementation ' androidx.core:core-ktx:1.6.0'
@@ -128,12 +128,15 @@ dependencies {
128128 implementation ' com.github.chrisbanes:PhotoView:2.3.0@aar'
129129
130130 // bugly捕获异常
131- implementation ' com.tencent.bugly:crashreport:3.2.33 '
131+ implementation ' com.tencent.bugly:crashreport:3.3.92 '
132132 implementation project(path : ' :LaunchStarter' )
133133
134134 // aspectj
135135 implementation ' org.aspectj:aspectjrt:1.9.5' // 需要使用aspectJ能力的模块
136136
137+ // aspectJ
138+ implementation ' org.aspectj:aspectjrt:1.9.5'
139+
137140 // flutter
138141 implementation project(' :flutter' )
139142
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class AspectJHandle {
2222 val className = signature.declaringType.canonicalName
2323 // 获取注解的方法名称
2424 val methodName = signature.name
25-
25+ // 计算方法的耗时
2626 val startTime = System .currentTimeMillis()
2727 joinPoint.proceed()
2828 Log .e(TAG , " $className :$methodName cost=${(System .currentTimeMillis() - startTime)} " )
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ buildscript {
66 repositories {
77 google()
88 jcenter()
9-
109 }
1110 dependencies {
1211 classpath ' com.android.tools.build:gradle:3.4.2'
Original file line number Diff line number Diff line change 1313 jarPath : " ../jiagu/jiagu.jar" , // 执行命令的jar包路径
1414 ]
1515}
16-
16+ // 使用360加固命名结合Task进行打包
1717task protectApp () {
1818 dependsOn(" assembleRelease" )
1919 doLast {
You can’t perform that action at this time.
0 commit comments