Archinamon / android-gradle-aspectj

gradle plug-in adding supports of AspectJ into Android project
Apache License 2.0
363 stars 58 forks source link

buildTimeLog=false has no effect #99

Open VladislavTitov opened 4 years ago

VladislavTitov commented 4 years ago

I set buildTimeLog to false at every place where I apply plugin, f.e.

// app module
apply plugin: "com.archinamon.aspectj-ext"

aspectj {
    buildTimeLog = false
    includeAspectsFromJar 'aspects_provider'
}

or/and

// aspects_provider module
apply plugin: 'com.archinamon.aspectj-provides'

aspectj {
    buildTimeLog false
}

But build output looks like

> Task :app:generateDevDebugSources UP-TO-DATE
:app:generateDevDebugSources spend 0ms
:app:generateDevDebugSources spend 1ms
:app:generateDevDebugSources spend 1ms
:app:generateDevDebugSources spend 1ms
:app:generateDevDebugSources spend 1ms
:app:generateDevDebugSources spend 1ms
Task spend time:
Task spend time:
Task spend time:
Task spend time:
Task spend time:
Task spend time:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1s
64 actionable tasks: 64 up-to-date

How it could be solved?