Adding a Configuration as a dependency is a confusing behavior which isn't recommended
问题 I have encountered the following warning after trying to build my Kotlin project with Gradle 7. > Configure project :app Adding a Configuration as a dependency is a confusing behavior which isn't recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you're interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead. See https://docs.gradle.org/6.7/dsl/org.gradle.api.artifacts