I've got an Android project that I'm building with...
# gradle
j
I've got an Android project that I'm building with gradle-5.4.1 . I keep getting this message "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." I did use that argument, but I still can't figure out what exactly is deprecated. Anyone got a hint about where exactly to look?
t
usually with
--warning-mode all
deprecations are printed on top of the build log. Try run
tasks
task to have small build output.
j
Thx, Yahor. I just did this but I don't see anything.
When you say "build log", you mean whatever gradle prints to stdout, right? (I'm running it via gradlew from the command line).
t
right
j
I redir'd all output to a file and searched that for "depre" and don't find anything..
t
strange, usually Gradle prints it before
Tasks runnable from root project
section.
j
Just realized that that error doesn't show when I run gradlew from the console, only in AndroidStudio, but I have set it up to use the wrapper. Will keep looking.. thx for the help so far
Upgraded to Gradle 6.2, it's still building, but now I'm getting "Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0." 😉
t
it is expected with AGP 3.5
should be fixed in AGP 3.6
h
Same message keeps on occuring on AGP 4.0 Canary 9
t
interesting, I would advice to open an issue in google tracker, as 4.0 is still in canary
h
Okay will do so