kotlin-dsl-samples icon indicating copy to clipboard operation
kotlin-dsl-samples copied to clipboard

Archives configuration has been deprecated for dependency declaration.

Open AlexTrotsenko opened this issue 5 years ago • 0 comments
trafficstars

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 ?

AlexTrotsenko avatar Jun 05 '20 07:06 AlexTrotsenko