docs.gradle.org

  • Method Summary

    <T> void

    add (Class<T> publicType, String name, T extension)

    Adds a new extension to this container.

    void

    Adds a new extension to this container.

    <T> void

    Adds a new extension to this container.

    <T> void

    Looks for the extension of the specified type and configures it with the supplied action.

    <T> void

    Looks for the extension with the specified name and configures it with the supplied action.

    <T> void

    Looks for the extension of the specified type and configures it with the supplied action.

    <T> T

    create (Class<T> publicType, String name, Class<? extends T> instanceType, Object... constructionArguments)

    Creates and adds a new extension to this container.

    <T> T

    Creates and adds a new extension to this container.

    <T> T

    create (TypeOf<T> publicType, String name, Class<? extends T> instanceType, Object... constructionArguments)

    Creates and adds a new extension to this container.

    Looks for the extension of a given name.

    <T> @Nullable T

    Looks for the extension of a given type (useful to avoid casting).

    <T> @Nullable T

    Looks for the extension of a given type (useful to avoid casting).

    Looks for the extension of a given name.

    <T> T

    Looks for the extension of a given type (useful to avoid casting).

    <T> T

    Looks for the extension of a given type (useful to avoid casting).

    Provides access to the schema of all known extensions.

    The extra properties extension in this extension container.

  • Method Details

    • add

    • add

    • add

    • create

    • create

    • create

    • getExtensionsSchema

    • getByType

    • getByType

    • findByType

    • findByType

    • getByName

    • findByName

    • configure

    • configure

    • configure

Read the original on docs.gradle.org ↗