Interface GosuSourceSet

    • Method Summary

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

      • 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.

        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.