Interface GosuSourceSet

All Known Implementing Classes:
DefaultGosuSourceSet

public interface GosuSourceSet
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.file.SourceDirectorySet
    All Gosu source for this source set.
    org.gradle.api.file.SourceDirectorySet
    Returns the source to be compiled by the Gosu compiler for this source set.
    gosu(groovy.lang.Closure<?> configureClosure)
    Configures the Gosu source for this set.
    gosu(org.gradle.api.Action<? super org.gradle.api.file.SourceDirectorySet> configureAction)
    Configures the Gosu source for this set.
  • Method Details

    • getGosu

      org.gradle.api.file.SourceDirectorySet getGosu()
      Returns the source to be compiled by the Gosu compiler for this source set. This may contain both Java and Gosu source files.
      Returns:
      The Gosu source. Never returns null.
    • gosu

      GosuSourceSet gosu(groovy.lang.Closure<?> configureClosure)
      Configures the Gosu source for this set.

      The given closure is used to configure the SourceDirectorySet which contains the Gosu source, with the SourceDirectorySet set as the closure's delegate (resolved before the closure's owner), matching Gradle's usual Closure-configuration DSL convention.

      Parameters:
      configureClosure - The closure to use to configure the Gosu source.
      Returns:
      this
    • gosu

      GosuSourceSet gosu(org.gradle.api.Action<? super org.gradle.api.file.SourceDirectorySet> configureAction)
      Configures the Gosu source for this set.

      The given action is used to configure the SourceDirectorySet which contains the Gosu source.

      Parameters:
      configureAction - The action to use to configure the Gosu source.
      Returns:
      this
    • getAllGosu

      org.gradle.api.file.SourceDirectorySet getAllGosu()
      All Gosu source for this source set.
      Returns:
      the Gosu source. Never returns null.