Interface Snippet

All Superinterfaces:
org.gradle.api.Named
All Known Implementing Classes:
SnippetInternal

public interface Snippet extends org.gradle.api.Named
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Named

    org.gradle.api.Named.Namer
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.provider.SetProperty<Dsl>
    By convention, this is both Groovy and Kotlin.

    Methods inherited from interface org.gradle.api.Named

    getName
  • Method Details

    • getDsls

      org.gradle.api.provider.SetProperty<Dsl> getDsls()
      By convention, this is both Groovy and Kotlin. Every sample must have at least one DSL.
      Returns:
      DSLs that should be expected for this sample.