Path utilities.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.lang.String |
extractJavaClass(java.util.Collection<java.io.File> roots, java.io.File file)Resolves class name from source file. |
|
static org.gradle.api.tasks.SourceSet |
findMatchingSet(java.lang.String baseName, java.lang.String taskName, java.util.Collection<org.gradle.api.tasks.SourceSet> sets)Searches for source set current task belongs to using task name build convention. |
|
static java.util.Set<java.io.File> |
resolveIgnoredFiles(org.gradle.api.file.FileTree files, java.util.Collection<java.lang.String> excludes)Resolves excluded files of file set. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Resolves class name from source file.
roots - source directoriesfile - java source fileSearches for source set current task belongs to using task name build convention.
baseName - base name for task grouptaskName - full task namesets - source sets to search inResolves excluded files of file set.
files - files collectionexcludes - exclude patterns