AalekhPlugin

class AalekhPlugin : Plugin<Project> (source)

Deprecated

Use the settings plugin instead: id("io.github.shivathapaa.aalekh") in settings.gradle.kts. The project plugin will be removed in a future release.

Replace with

AalekhSettingsPlugin

Project-scoped Aalekh plugin - deprecated, use the settings plugin instead.

This plugin is kept for backwards compatibility with users who applied Aalekh via build.gradle.kts before the settings plugin was introduced. It produces a deprecation warning on first use and registers the same tasks as AalekhSettingsPlugin.

Why deprecated?

Project plugins applied via includeBuild are loaded in the root-project(export) classloader scope, which is NOT preserved across configuration cache entries. This causes a CC miss on every second run. The settings plugin is loaded in the settings scope, which IS stable.

Migration (takes ~30 seconds)

// settings.gradle.kts - REPLACE the build.gradle.kts plugin block with this:
plugins {
id("io.github.shivathapaa.aalekh") version "<latest>"
}

Then remove the plugin from build.gradle.kts. The aalekh { } extension block in build.gradle.kts stays exactly as-is. See the README for the current published version.

Constructors

Link copied to clipboard
constructor()

Functions

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