IDEA-124839 Gradle sync reports "Error:You can't change a configuration which is not in unresolved state!"
(cherry picked from commit f9d754d)