Run AWS's SDK v1 to v2 migration on Java sources only

Apache 2.0

Runs software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2 only on Java sources that use SDK v1 types and on Maven and Gradle build files that reference com.amazonaws. AWS's recipes do not support Kotlin, error on other languages, and can throw on sources already on SDK v2. Files that still use Kinesis Client Library 1.x are skipped, since KCL 1.x only works with the v1 clients v2-migration would retype.

org.openrewrite.aws.sdk.AwsSdkJavaV1ToV2Safe
mod run . --recipe=org.openrewrite.aws.sdk.AwsSdkJavaV1ToV2Safe

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.