Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Archives configuration has been deprecated for dependency declaration. #1407

Open
AlexTrotsenko opened this issue Jun 5, 2020 · 0 comments

Comments

@AlexTrotsenko
Copy link

When building multi-kotlin-project with latest Gradle 6.5 it shows following warning:

> Configure project :
The archives configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation or api configuration instead.

If I understood correctly it's complaining about subprojects.forEach { archives(it) }

Should this be fixes in the samples?

One more related question - I don't remember seeing something like this in any gradle Groovy dsl projects.
Is this part specific to Kotlin dsl or kotlin("jvm") plugin ? Do we need to have it as well in Android / Spring Boot multi module projects as well ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant