It’s possible to get a stacktrace pointing to the source of a Gradle deprecation warning by using
-Dorg.gradle.deprecation.trace=true. This is extremely helpful but isn’t mentioned in the guide or the output of Gradle. I only found out about it in this forum.
I’d suggest to change both of that.
Mention it in the guide and tell the users about this option if a deprecation warning has been printed by a Gradle build, similarly to the
Ideally, Gradle should point to the source of the deprecation warning directly instead of making me search a stacktrace for
.gradle: but that is definitely a much bigger change.
Gradle Version: 3.0-rc-1