Interface FileSpec
- All Known Implementing Classes:
DependencyFileSpec,LocalFileSpec,MavenFileSpec
@Experimental
public interface FileSpec
FileSpec should be used in MappingsSpec's that take an input file. The input file can either be a local file or a gradle dep.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileSpecstatic FileSpeccreateFromDependency(org.gradle.api.artifacts.Dependency dependency)static FileSpeccreateFromFile(File file)static FileSpeccreateFromFile(org.gradle.api.file.RegularFileProperty regularFileProperty)static FileSpeccreateFromMavenDependency(String dependencyNotation)get(MappingContext context)
-
Method Details
-
create
-
createFromMavenDependency
-
createFromDependency
-
createFromFile
-
createFromFile
-
get
-