# Package org.gradle.api.services

@NullMarked package org.gradle.api.services
Types for defining and using build services.

Since:
  6.1

- Related Packages
  Package
  Description
  org.gradle.api
  Gradle's build language API, which is available from your build files.
- Class
  Description
  BuildService<T extends BuildServiceParameters>
  Represents a user provided "service" that is used by a Gradle build.
  BuildServiceParameters
  A set of parameters to be injected into a `BuildService` implementation.
  BuildServiceParameters.None
  Used for services without parameters.
  BuildServiceRegistration<T extends BuildService<P>, P extends BuildServiceParameters>
  Details of a build service.
  BuildServiceRegistry
  A registry of build services.
  BuildServiceSpec<P extends BuildServiceParameters>
  A set of parameters that defines a service registration.
  GradleService
  Marks a service that can be looked up via `Gradle.service(Class)`.
  ProjectService
  Marks a service that can be looked up via `Project.service(Class)`.
  ServiceReference
  Marks a task property as being a holder to a `BuildService`.
  SettingsService
  Marks a service that can be looked up via `Settings.service(Class)`.
  TaskService
  Marks a service that can be looked up via `Task.service(Class)`.