Skip to content
Veltoryx Technologies

Maven ⇄ Gradle Dependency Converter

Translate Maven XML <dependency> blocks into Gradle Groovy or Kotlin DSL (and vice versa) with automatic scope translation (testImplementation, compileOnly, runtimeOnly).

Runs in your browser. Nothing is uploaded.
Direction:
DSL:
Input Maven XML (<dependency>)(439 chars)
Converted Gradle (groovy)
1
2
3
implementation 'org.springframework.boot:spring-boot-starter-web:3.2.4'
implementation 'org.springframework.kafka:spring-kafka'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'

How to use this tool

1
Choose conversion direction

Select Maven to Gradle or Gradle to Maven.

2
Select DSL format

For Gradle output, pick Groovy (implementation '...') or Kotlin DSL (implementation("...")).

3
Copy converted dependencies

Copy the converted dependency blocks directly into your pom.xml or build.gradle / build.gradle.kts file.

Frequently Asked Questions

How are Maven scopes mapped to Gradle configurations?

compile -> implementation, test -> testImplementation, runtime -> runtimeOnly, provided -> compileOnly.

Does this support batch conversion of multiple dependencies?

Yes. You can paste an entire <dependencies> XML section with dozens of artifacts, and all coordinates will convert in a single operation.

What is the difference between Gradle Groovy and Kotlin DSL syntax?

Groovy DSL uses single quotes without parentheses (implementation 'group:artifact:version'). Kotlin DSL uses double quotes inside parentheses (implementation("group:artifact:version")).

Does it support dependencies without a version tag?

Yes. When converting dependencies managed by a Bill of Materials (BOM) like Spring Boot Starter parent, versionless coordinates are formatted cleanly without dangling colons.

📖 Related Lessons on Veltoryx Learn

Deepen your architecture knowledge with practical, production-tested guides:

Client-Side Privacy Guarantee

This tool never transmits your payloads to any server. Open DevTools (F12) → Network tab to verify that zero HTTP requests are sent while using this page.

🛡 Safe for confidential enterprise payloads