Plugin

Recursive Include

Plugin ID
com.helixframework.recursive-include
Plugin Type
Settings

Recursively discovers nested Gradle subprojects and includes them automatically in the current multi-project build.

  • Starts scanning from the configured directory or the root project directory by default.
  • Includes directories that contain build.gradle or build.gradle.kts.
  • Skips directories that represent included builds by detecting settings.gradle or settings.gradle.kts.

Usage

settings.gradle

Groovy DSL

plugins {
    id 'com.helixframework.recursive-include'
}

settings.gradle.kts

Kotlin DSL

plugins {
    id("com.helixframework.recursive-include")
}

Configuration

This plugin does not create a Helix-specific extension. Configure it through the following properties or helper methods.

  • recursiveInclude.startDir (default: root project directory): Directory to begin scanning from.
  • recursiveInclude.allowRegex: Optional regular expression used to include only matching Gradle project paths.
  • recursiveInclude.denyDirs (default: empty): Comma-separated directory names that should be excluded from the recursive scan.