Package org.gosulang.gradle.tasks
Class DefaultGosuSourceSet
- java.lang.Object
-
- org.gosulang.gradle.tasks.DefaultGosuSourceSet
-
- All Implemented Interfaces:
GosuSourceSet
public class DefaultGosuSourceSet extends java.lang.Object implements GosuSourceSet
-
-
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.SourceDirectorySetgetAllGosu()All Gosu source for this source set.java.lang.StringgetDisplayName()org.gradle.api.file.SourceDirectorySetgetGosu()Returns the source to be compiled by the Gosu compiler for this source set.java.lang.StringgetName()GosuSourceSetgosu(groovy.lang.Closure configureClosure)Configures the Gosu source for this set.GosuSourceSetgosu(org.gradle.api.Action<? super org.gradle.api.file.SourceDirectorySet> configureAction)Configures the Gosu source for this set.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDisplayName
public java.lang.String getDisplayName()
-
getGosu
public org.gradle.api.file.SourceDirectorySet getGosu()
Description copied from interface:GosuSourceSetReturns the source to be compiled by the Gosu compiler for this source set. This may contain both Java and Gosu source files.- Specified by:
getGosuin interfaceGosuSourceSet- Returns:
- The Gosu source. Never returns null.
-
gosu
public GosuSourceSet gosu(groovy.lang.Closure configureClosure)
Description copied from interface:GosuSourceSetConfigures the Gosu source for this set.The given closure is used to configure the
SourceDirectorySetwhich contains the Gosu source.- Specified by:
gosuin interfaceGosuSourceSet- 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:GosuSourceSetConfigures the Gosu source for this set.The given action is used to configure the
SourceDirectorySetwhich contains the Gosu source.- Specified by:
gosuin interfaceGosuSourceSet- 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:GosuSourceSetAll Gosu source for this source set.- Specified by:
getAllGosuin interfaceGosuSourceSet- Returns:
- the Gosu source. Never returns null.
-
-