KonturePlugin

class KonturePlugin : Plugin<Project>

The main Gradle plugin for Konture.

This plugin performs a dual role:

  1. Producer Role (Root Project): When applied to the root project, it registers the GenerateArchitectureLayout task, which extracts the full multi-project structure and dependencies of the build and serializes it into a layout.json file. It also registers the archLayoutElements outgoing configuration to share this artifact with consumer projects safely.

  2. Consumer Role (Subprojects): Exposes the konture DSL block via KontureExtension to allow dedicated test modules to consume the generated layout schema safely in isolated projects.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Companion object containing internal plugin constants and task names.

Functions

Link copied to clipboard
open override fun apply(project: Project)