Package org.gosulang.gradle.tasks
Interface GosuSourceSet
- All Known Implementing Classes:
DefaultGosuSourceSet
public interface GosuSourceSet
-
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.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
Configures 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.- 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
SourceDirectorySetwhich 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.
-