This should help with Gradle's incremental compile such that projects only depend upon the resources they use. related #52114
See #13930