Class DefaultGosuSourceSet

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultGosuSourceSet​(java.lang.String name, org.gradle.api.model.ObjectFactory objectFacotry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.gradle.api.file.SourceDirectorySet getAllGosu()
      All Gosu source for this source set.
      java.lang.String getDisplayName()  
      org.gradle.api.file.SourceDirectorySet getGosu()
      Returns the source to be compiled by the Gosu compiler for this source set.
      java.lang.String getName()  
      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.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultGosuSourceSet

        public DefaultGosuSourceSet​(java.lang.String name,
                                    org.gradle.api.model.ObjectFactory objectFacotry)
    • Method Detail

      • getName

        public java.lang.String getName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getDisplayName

        public java.lang.String getDisplayName()
      • getGosu

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

        public GosuSourceSet gosu​(groovy.lang.Closure configureClosure)
        Description copied from interface: GosuSourceSet
        Configures the Gosu source for this set.

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

        Specified by:
        gosu in interface GosuSourceSet
        Parameters:
        configureClosure - The closure to use to configure the Gosu source.
        Returns:
        this
      • gosu

        public GosuSourceSet gosu​(org.gradle.api.Action<? super org.gradle.api.file.SourceDirectorySet> configureAction)
        Description copied from interface: GosuSourceSet
        Configures the Gosu source for this set.

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

        Specified by:
        gosu in interface GosuSourceSet
        Parameters:
        configureAction - The action to use to configure the Gosu source.
        Returns:
        this
      • getAllGosu

        public org.gradle.api.file.SourceDirectorySet getAllGosu()
        Description copied from interface: GosuSourceSet
        All Gosu source for this source set.
        Specified by:
        getAllGosu in interface GosuSourceSet
        Returns:
        the Gosu source. Never returns null.