Module

data class Module(val buildId: String, val path: String, val projectDir: String, val appliedPlugins: List<String>, val sourceSets: List<SourceSet>, val dependencies: List<Dependency>, val files: List<FileDeclaration> = emptyList())

Represents a single Gradle module/project and all its structural and source declarations.

Constructors

Link copied to clipboard
constructor(buildId: String, path: String, projectDir: String, appliedPlugins: List<String>, sourceSets: List<SourceSet>, dependencies: List<Dependency>, files: List<FileDeclaration> = emptyList())

Properties

Link copied to clipboard

List of plugin IDs applied to this module (e.g., kotlin-jvm, android-library).

Link copied to clipboard

The ID of the build containing this module.

Link copied to clipboard

Parsed Kotlin class declarations contained inside this module's production source sets.

Link copied to clipboard

Declared project dependencies of this module.

Link copied to clipboard
Link copied to clipboard

The Gradle project path (e.g. :core:database).

Link copied to clipboard

The build-root-relative directory path.

Link copied to clipboard

The source sets present in this module.