Package org.gosulang.gradle.tasks
Class DefaultGosuSourceSet
java.lang.Object
org.gosulang.gradle.tasks.DefaultGosuSourceSet
- All Implemented Interfaces:
GosuSourceSet
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultGosuSourceSet(String name, org.gradle.api.model.ObjectFactory objectFacotry) -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.file.SourceDirectorySetAll Gosu source for this source set.org.gradle.api.file.SourceDirectorySetgetGosu()Returns the source to be compiled by the Gosu compiler for this source set.getName()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.toString()
-
Constructor Details
-
DefaultGosuSourceSet
-
-
Method Details
-
getName
-
toString
-
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
Description copied from interface:GosuSourceSetConfigures the Gosu source for this set.The given closure is used to configure the
SourceDirectorySetwhich contains the Gosu source, with theSourceDirectorySetset as the closure's delegate (resolved before the closure's owner), matching Gradle's usual Closure-configuration DSL convention.- 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.
-