Package org.gradle.api.services

## Annotation Type ServiceReference

-     @Documented
      @Retention(RUNTIME)
      @Target({METHOD,FIELD})
      @Incubating
      public @interface ServiceReference

  Marks a task property as being a holder to a `BuildService`

  .
  Since:
    8.0

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `java.lang.String` | `value` | The optional name of the service which the annotated element references.

- - ### Element Detail

    - #### value

          java.lang.String value

      The optional name of the service which the annotated element references.
      Default:
        ""