What problem does it solve?
Adds one or more Maven dependencies to a Kotlin/Gradle project while managing shared versions, maintaining the Gradle version catalog, and ensuring the project still builds, eliminating manual catalog edits and guesswork about versions and aliases.
Core Features & Use Cases
- Automated Version Resolution: Searches Maven Central or the web for the latest stable release for each provided group:artifact coordinate and avoids pre-release versions unless necessary.
- Version Catalog Integration: Updates gradle/libs.versions.toml by adding or reusing version aliases and adding corresponding library entries following the project's naming conventions.
- Build Verification: Inserts catalog-based accessors into build.gradle.kts and runs a Gradle clean build (excluding tests) to validate dependency resolution and compilation.
- Use Case: Quickly add multiple libraries to a Kotlin project while keeping centralized version control and avoiding inconsistent dependency declarations.
Quick Start
Add org.jetbrains.kotlinx:kotlinx-coroutines-core to the project by running add-dependency org.jetbrains.kotlinx:kotlinx-coroutines-core.