Maven uses XML for configuration, while Gradle uses Groovy or Kotlin scripts.
Maven's dependency management is declarative and XML-based, making it straightforward but less flexible. Gradle, in contrast, uses a script-based approach, allowing for more dynamic configurations and better integration with other tools. Both manage dependencies by resolving them from repositories, like Maven Central, but Gradle's scripts can offer more customized build processes.
Additional Notes
How do Maven and Gradle handle dependency management differently?