Open knutwannheden opened 8 months ago
So more specifically this is an exclude on a platform dependency only. It looks like the fix is to switch from ListUtils.map
to ListUtils.mapFirst
as is done with the other recipes that enact similar changes.
Problem
Recipe can't handle Gradle dependency with exclude.
Example diff
From:
docs/spring-authorization-server-docs.gradle
Recipes in example diff:
org.openrewrite.gradle.ChangeDependencyArtifactId
Error messages:
References:
org.openrewrite.gradle.ChangeDependencyArtifactId
Change Gradle dependency artifact
spring-projects/spring-authorization-server/main