Shared Model Defaults
Shared model defaults for configuring project types. Defaults apply initial values to the model objects of project types. When a project type plugin is applied to a project, the model object for the project type will be pre-configured with the values set in the default.
Since
8.10
Functions
Link copied to clipboard
inline fun <T : Any> SharedModelDefaults.add(name: String, publicType: KClass<T>, configureAction: Action<in T>)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.initialization.SharedModelDefaults.add.
Link copied to clipboard
Provides access to the project layout when default configurations are evaluated in the context of specific projects.