HujiangTechnology / gradle_plugin_android_aspectjx

A Android gradle plugin that effects AspectJ on Android project and can hook methods in Kotlin, aar and jar file.
Apache License 2.0
3.95k stars 570 forks source link

BuildListener#buildStarted(Gradle) has been deprecated. This is scheduled to be removed in Gradle 7.0 #266

Open jrjohn opened 4 years ago

jrjohn commented 4 years ago

Configure project :app BuildListener#buildStarted(Gradle) has been deprecated. This is scheduled to be removed in Gradle 7.0. at org.gradle.invocation.DefaultGradle.nagBuildStartedDeprecationIfOverriden(DefaultGradle.java:404) at org.gradle.invocation.DefaultGradle.addListener(DefaultGradle.java:370) at org.gradle.api.invocation.Gradle$addListener$0.call(Unknown Source) at com.hujiang.gradle.plugin.android.aspectjx.AJXPlugin.apply(AJXPlugin.groovy:54) at com.hujiang.gradle.plugin.android.aspectjx.AJXPlugin.apply(AJXPlugin.groovy)

LanderlYoung commented 4 years ago

maybe remove this line

            project.gradle.addListener(new TimeTrace())

Android Studio now has a built-in build time analyzer.