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

Archives configuration has been deprecated for dependency declaration.  #1407

@AlexTrotsenko

Description

@AlexTrotsenko

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions