maven-to-gradle

Convert Maven projects to Gradle Kotlin DSL with version catalogs.

11|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/adityamparikh/maven-to-gradle --skill maven-to-gradle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maven-to-gradle
Source: https://github.com/adityamparikh/maven-to-gradle/tree/main
Command: npx skills add https://github.com/adityamparikh/maven-to-gradle --skill maven-to-gradle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of migrating Maven projects to Gradle Kotlin DSL (KTS), including the setup of version catalogs.

Core Features & Use Cases

  • Full Migration: Converts pom.xml to build.gradle.kts, settings.gradle.kts, gradle/libs.versions.toml, and gradle.properties.
  • Dual-Build Mode: Adds Gradle alongside Maven for gradual migration without immediate disruption.
  • Smart Conversion: Handles Spring Boot parent POMs, scope mapping, BOM imports, annotation processors, and common plugin conversions.
  • Use Case: You have a large, multi-module Maven project and want to leverage Gradle's performance and modern features. This Skill provides a robust starting point, significantly reducing manual effort and potential errors.

Quick Start

Use the maven-to-gradle skill to convert the current Maven project to Gradle Kotlin DSL.

Frequently Asked Questions about maven-to-gradle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Maven project to Gradle Kotlin DSL?

To convert a Maven project to Gradle Kotlin DSL, this Skill automates generating `build.gradle.kts`, `settings.gradle.kts`, and `libs.versions.toml` from your `pom.xml`. It handles single-module and multi-module projects seamlessly.

Can I add Gradle alongside Maven without removing my existing build?

Yes, you can add Gradle alongside Maven using the dual-build overlay mode. This allows for gradual migration without immediate disruption to your existing Maven build process.

Does the Maven to Gradle migration handle Spring Boot parent POMs?

Yes, the Maven to Gradle migration handles Spring Boot parent POM conversion. It smartly maps scopes, BOM imports, annotation processors, and common plugins to their Gradle equivalents.

What is a Gradle version catalog and do I need it for my migration?

A Gradle version catalog (`libs.versions.toml`) centralizes dependency versions. This Skill automatically generates it during your Maven to Gradle migration to provide a modern starting point.

How are Maven profiles converted when migrating to Gradle KTS?

Maven profiles are converted to their Gradle Kotlin DSL equivalents during the migration process. This ensures your environment-specific configurations remain intact in the new build tool.