use of org.gradle.api.tasks.GroovySourceDirectorySet in project gradle by gradle.
the class DefaultGroovySourceSet method createGroovySourceDirectorySet.
private static GroovySourceDirectorySet createGroovySourceDirectorySet(String name, String displayName, ObjectFactory objectFactory) {
GroovySourceDirectorySet groovySourceDirectorySet = new DefaultGroovySourceDirectorySet(objectFactory.sourceDirectorySet(name, displayName + " Groovy source"));
groovySourceDirectorySet.getFilter().include("**/*.java", "**/*.groovy");
return groovySourceDirectorySet;
}
Aggregations