Crate kmmp_project_manager

Source
Expand description

§kmmp-project-manager

Crates.io Docs.rs

kmmp-project-manager is a Rust crate for Kotlin Multiplatform (KMP) projects, offering a lightweight alternative to Android Studio. It provides tools for project creation, structure management, build automation, code generation, IDE integration, dependency management, and project configuration.

§Features

  • generate: Enables the generatation of the kmmp-project.

§Installation

Add this to your Cargo.toml for default features:

[dependencies]
kmmp-project-manager= "0.1.0" # Note version at time of writing

§Usage

… todo add comment to generation and general libs

//TODO add project includes module block settings gradle ///todo generate localproperties file //todo //.. android manifest , resources , images , defualt files , code generate , add in module struct //todo add root.build.gradle.kts to generatation // todo add comments to it // todo add manifests

Please note that the examples provided here are simplified and serve as a starting point. For comprehensive documentation of the crate, please visit the crate documentation for a better understanding of the crate’s functionalities and APIs.

§Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

Structs§

Dependencies
Represents a collection of dependencies.
Dependency
Represents a dependency.
DependencyIdentifier
Represents a dependency identifier in the format group:version
GradleProperties
Represents the contents of the Gradle properties file.
Metadata
Representation of the module metadata
Module
Represents a module in a Gradle project.
ModuleGradle
Represents the build.gradle.kts of the module
PluginIndentifier
Represents a plugin identifier.
Plugins
Represents a collection of plugins.
Project
Represents a project in the KMMP (Kotlin Multiplatform) context.
Repositories
Represents a collection of repositories.
RepositoryIndentifier
Represents a repository identifier containing the URL to search in.
SettingsGradle
Represents the configuration of the settings.gradle file.
SourceSet
Represents a source set in a multiplatform project.
SourceSets
Represents a collection of source sets in a Kotlin Multiplatform project.

Enums§

DependencyType
Represents the type of a dependency.
ModuleContent
Represents the content of a module, which can be either source sets or dependencies.
SourceMethod
Represents different methods for obtaining or creating a source.