Adds a simple helper for including composite builds only when a target directory is present.
- Registers optionalIncludeBuild on settings.ext.
- Includes the requested build only when the relative path exists.
- Prints a skip message when the target build is missing.
Usage
settings.gradle
Groovy DSL
plugins {
id 'com.helixframework.optional-includebuild'
}
optionalIncludeBuild('local-builds/shared-plugin')
settings.gradle.kts
Kotlin DSL
plugins {
id("com.helixframework.optional-includebuild")
}
optionalIncludeBuild("local-builds/shared-plugin")
Configuration
This plugin does not create a Helix-specific extension. Configure it through the following properties or helper methods.
optionalIncludeBuild(relativePath): Helper method added to settings that conditionally calls includeBuild when the requested path exists.