kotlin-dsl-samples
kotlin-dsl-samples copied to clipboard
Archives configuration has been deprecated for dependency declaration.
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 ?