ProjectCollectionsGradleSettingsExtension

Constructors

constructor()

Properties

Link copied to clipboard
abstract val fileSpec: Property<Spec<File>>

An optional Spec operating on a File acting as eligibility criteria for File.isDirectory instances to adhere to before passing to org.gradle.api.initialization.Settings.include

Link copied to clipboard

An optional Property of ProjectNameMapper used to rename the argument passed to org.gradle.api.initialization.Settings.include to avoid the potential for empty org.gradle.api.Projects to be created. This aligns with Gradle best practices as outlined here

Functions

Link copied to clipboard
abstract fun registerNestedProjectCollection(topLevelDir: String, depth: Int)

Register a collection of nested projects

Link copied to clipboard

Register a collection of 1-level-deep projects

abstract fun registerProjectCollection(topLevelDir: String, depth: Int)

Register a collection of nested projects

Link copied to clipboard
abstract infix fun String.toDepthOf(depth: Int)

A friendly-syntax approach to including collections of projects