Search in sources :

Example 1 with GroovySourceDirectorySet

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;
}
Also used : GroovySourceDirectorySet(org.gradle.api.tasks.GroovySourceDirectorySet)

Aggregations

GroovySourceDirectorySet (org.gradle.api.tasks.GroovySourceDirectorySet)1