More detailed deprecation warning

Is it possible to make the error message “TaskContainer.add() method has been deprecated” more detailed? There is no “add” message in my build.gradle. Is it a plugin, which uses such a function?

If it’s not a build script, then it must be a plugin. The best you can currently do is to run with ‘-Dorg.gradle.deprecation.trace=true’ and check the stack trace.