# Package-level declarations

Classes that operate on the Gradle model.

## Types

ManagedType
Link copied to clipboard
@Incubating
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
annotation class ManagedType
Marks Gradle-provided types that can be instantiated via the managed object infrastructure.
ObjectFactory
Link copied to clipboard
@ServiceScope(value = [Global::class, BuildTree::class, Project::class])
interface ObjectFactory : GradleService, ProjectService, SettingsService, TaskService
A factory for creating various kinds of model objects.
ReplacedBy
Link copied to clipboard
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.METHOD, ElementType.FIELD])
annotation class ReplacedBy
Attached to a task property to indicate that the property has been replaced by another.