Sort Gradle dependencies

Apache 2.0

Sort dependencies in build.gradle and build.gradle.kts files. Dependencies are sorted alphabetically by configuration name (e.g. api, implementation), then by groupId, then by artifactId.

org.openrewrite.gradle.SortDependencies
mod run . --recipe=org.openrewrite.gradle.SortDependencies

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