maven-to-gradle

Category: Tools & Productivity | Uploader: adityamparikhadityamparikh | Downloads: 0 | Version: v1.0(Latest)

Migrates Maven projects to Gradle Kotlin DSL (build.gradle.kts) with version catalogs (libs.versions.toml). Covers single-module and multi-module projects, Spring Boot starter-parent conversion, dependency-scope and BOM mapping, Maven plugin to Gradle plugin translation, and Maven profile equivalents. Also supports a dual-build overlay mode that adds Gradle alongside Maven without removing pom.xml. Triggers on requests to convert pom.xml to Gradle, migrate from Maven to Gradle, generate build.gradle.kts, set up a Gradle version catalog from Maven, modernize a JVM build system, or add Gradle alongside Maven for gradual migration. Does not apply to Gradle-to-Maven conversion, authoring brand-new Gradle projects from scratch with no Maven source, Groovy DSL (build.gradle) authoring unrelated to migration, or non-JVM build tools (npm, Bazel, sbt, Make).

Changelog: Source: GitHub https://github.com/adityamparikh/maven-to-gradle

Directory Structure

Current level: tree/main/

  • 📁 references/
    • 📄 dual-build.md 4.1 KB
    • 📄 gotchas.md 7.2 KB
    • 📄 multi-module.md 5.0 KB
    • 📄 plugin-mappings.md 4.0 KB
    • 📄 profiles.md 5.0 KB
  • 📁 scripts/
    • 📁 migrate/
      • 📄 __init__.py 314 B
      • 📄 gradle_file_generator.py 24.5 KB
      • 📄 maven_gradle_mappings.py 10.5 KB
      • 📄 migration_pipeline.py 9.0 KB
      • 📄 pom_models.py 4.7 KB
      • 📄 pom_parser.py 12.6 KB
      • 📄 tech_stack_detector.py 3.5 KB
    • 📁 tests/
      • 📄 __init__.py 0 B
      • 📄 conftest.py 4.0 KB
      • 📄 test_gradle_file_generator.py 40.8 KB
      • 📄 test_maven_gradle_mappings.py 4.2 KB
      • 📄 test_migration_pipeline.py 13.6 KB
      • 📄 test_pom_parser.py 20.4 KB
      • 📄 test_tech_stack_detector.py 4.7 KB
    • 📄 migrate.py 352 B
  • 📄 .gitignore 299 B
  • 📄 LICENSE 10.5 KB
  • 📄 pyproject.toml 81 B
  • 📄 README.md 8.9 KB
  • 📄 SKILL.md 7.0 KB

SKILL.md

Login to download/like/favorite ❤ 12 | ★ 0
Comments 0

Please login before commenting.

Loading comments...