openrewrite / rewrite-gradle-plugin

OpenRewrite's Gradle plugin.
Apache License 2.0
64 stars 40 forks source link

Fail hard on failure to resolve dependencies #330

Open timtebeek opened 1 month ago

timtebeek commented 1 month ago

What's changed?

Fail hard on failure to resolve dependencies, as opposed to continuing with partial type information.

What's your motivation?

Partial type information can lead to missing changes, and hard to trouble shoot issues. We'd rather fail fast and hard, such that the underlying issues can be addressed.

Anything in particular you'd like reviewers to focus on?

Not too familiar with Gradle plugin development; throwing a GradleException seemed the best fit to achieve something similar to what we did in the Maven plugin.