Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BuildModel(val id: String, val modules: List<ModuleModel>)

Represents a single Gradle build (either the root build or an included/composite build).

Link copied to clipboard
@Serializable
data class DependencyEdge(val configuration: String, val targetBuildId: String, val targetPath: String)

Represents a declared project-to-project dependency edge.

Link copied to clipboard
@Serializable
data class DependencyGraphModel(val schemaVersion: Int = 1, val modules: Map<String, List<ResolvedDependencyModel>> = emptyMap())

Represents the resolved external/transitive dependency graph for the entire project. Stored in dependencies.json and lazy-loaded by the runtime library.

Link copied to clipboard
@Serializable
data class ExclusionsModel(val excludeModules: List<String> = emptyList(), val excludePackages: List<String> = emptyList(), val excludeClasses: List<String> = emptyList(), val excludeConfigurations: List<String> = listOf("test*", "benchmark*", "profile", "testedapks"))

Model specifying exclusion rules for modules, packages, classes, and configurations when analyzing builds.

Link copied to clipboard

Shared constant definitions for the Konture architecture testing framework.

Link copied to clipboard

Central logger for Konture diagnostic messages and warnings.

Link copied to clipboard
@Serializable
data class LayoutModel(val schemaVersion: Int, val builds: List<BuildModel>, val exclusions: ExclusionsModel = ExclusionsModel(), val logLevel: String = "INFO", val sourcesFingerprint: String = "")

The top-level root data model serialized into layout.json by the Gradle plugin. This represents the entire ground-truth project topology and acts as the schema contract between the build-time Gradle plugin and the test-time runtime.

Link copied to clipboard
enum class LogLevel : Enum<LogLevel>

Log verbosity levels for Konture execution logging.

Link copied to clipboard
@Serializable
data class ModuleModel(val path: String, val projectDir: String, val appliedPlugins: List<String>, val sourceSets: List<SourceSetModel>, val dependencies: List<DependencyEdge>)

Represents a single Gradle project/module.

Link copied to clipboard
@Serializable
data class ResolvedDependencyModel(val group: String, val name: String, val version: String, val configuration: String, val isTransitive: Boolean)

Represents a resolved external library coordinates edge.

Link copied to clipboard

Categorizes the source set types.

Link copied to clipboard
@Serializable
data class SourceSetModel(val name: String, val kind: SourceSetKind, val production: Boolean, val srcDirs: List<String>, val platforms: List<String> = emptyList(), val targetNames: List<String> = emptyList(), val dependsOnSourceSets: List<String> = emptyList(), val dependencyConfigurations: List<String> = emptyList(), val compileClasspath: List<String> = emptyList(), val jvmTarget: String? = null)

Represents a source set within a Gradle project.