File tree Expand file tree Collapse file tree
android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ open class AndroidAopConfig {
7979 AndroidAopConfig .excludes.add(Utils .extraPackage)
8080 AndroidAopConfig .verifyLeafExtends = verifyLeafExtends
8181 AndroidAopConfig .cutInfoJson = cutInfoJson
82- AndroidAopConfig .androidAopConfig = this
8382// AndroidAopConfig.increment = increment
8483 }
8584
@@ -96,7 +95,6 @@ open class AndroidAopConfig {
9695 var verifyLeafExtends = true
9796 var cutInfoJson = false
9897 var increment = false
99- var androidAopConfig: AndroidAopConfig ? = null
10098 internal fun syncConfig (project : Project ){
10199 val androidAopConfig = project.extensions.getByType(AndroidAopConfig ::class .java)
102100 androidAopConfig.initConfig()
Original file line number Diff line number Diff line change @@ -160,9 +160,6 @@ class CompilePlugin(private val fromRootSet:Boolean): BasePlugin() {
160160 } catch (_: Throwable ) {
161161 }
162162 variants.all { variant ->
163- if (syncConfig){
164- AndroidAopConfig .syncConfig(project)
165- }
166163 val javaCompile: AbstractCompile =
167164 if (DefaultGroovyMethods .hasProperty(variant, " javaCompileProvider" ) != null ) {
168165 // gradle 4.10.1 +
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ SonatypeTestCode = 1702
4646# 0 mavenLocal 1 SonatypeCache 2 mavenCentral
4747TestType = 0
4848
49- androidAop.debugMode = false
49+ androidAop.debugMode = true
5050androidAop.debugMode.variantOnlyDebug = true
5151androidAop.reflectInvokeMethod = false
5252androidAop.reflectInvokeMethod.variantOnlyDebug = false
You can’t perform that action at this time.
0 commit comments