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 Details

    • create

      static FileSpec create(Object o)
    • createFromMavenDependency

      static FileSpec createFromMavenDependency(String dependencyNotation)
    • createFromDependency

      static FileSpec createFromDependency(org.gradle.api.artifacts.Dependency dependency)
    • createFromFile

      static FileSpec createFromFile(File file)
    • createFromFile

      static FileSpec createFromFile(org.gradle.api.file.RegularFileProperty regularFileProperty)
    • get

      Path get(MappingContext context)