-
Hello, I have a problem. When I rebuild the project in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If I understand correctly, this is the expected behavior: without This is Gradle's standard behavior for compilation warnings, that'd be the same for, e.g. deprecation warnings. |
Beta Was this translation helpful? Give feedback.
If I understand correctly, this is the expected behavior: without
-Werror
, warnings do not fail the build, so when rebuilding without code change the task is up-to-date, and warnings aren't displayed. If you use the build cache, the task result is taken from the cache, so again no compilation and no warnings.This is Gradle's standard behavior for compilation warnings, that'd be the same for, e.g. deprecation warnings.
And with incremental recompilation, you'd also only have warnings for recompiled classes.