Skip to content

Commit

Permalink
Issue 507. Don't warn on duplicate dependency declaration.
Browse files Browse the repository at this point in the history
There are multiple ways this can happen, and it's not well-modeled, so until it is, don't bother users.
  • Loading branch information
autonomousapps committed Nov 1, 2021
1 parent 8303dc2 commit eafc9b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ internal class ConfigurationsToDependenciesTransformer(
// Don't emit a warning if it's for a java-platform project. These can be declared on
// multiple configurations.
if (metadataSink[identifier] != true) {
logger.warn("Dependency $identifier has been declared multiple times: $configurations")
logger.info("Dependency $identifier has been declared multiple times: $configurations")
}

// if one of the declarations is for an api configuration. Prefer that one
Expand Down

0 comments on commit eafc9b5

Please sign in to comment.