Interface ResolvedArtifactDefinition


public interface ResolvedArtifactDefinition
This type represents a resolved artifact (typically from the runtime classpath). It can either point to a local project dependency, using the classes directory path, or a third party jar.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.file.DirectoryProperty
     
    org.gradle.api.file.RegularFileProperty
     
    default org.gradle.api.file.FileSystemLocationProperty<? extends org.gradle.api.file.FileSystemLocation>
     
    org.gradle.api.provider.Property<String>
     
    default void
    setup(org.gradle.api.artifacts.result.ResolvedArtifactResult resolvedArtifact)
     
  • Method Details

    • getIdentifier

      @Input org.gradle.api.provider.Property<String> getIdentifier()
    • getArtifactClassesPath

      @Optional @InputDirectory org.gradle.api.file.DirectoryProperty getArtifactClassesPath()
    • getArtifactJarPath

      @Optional @InputFile org.gradle.api.file.RegularFileProperty getArtifactJarPath()
    • getArtifactPath

      @Internal default org.gradle.api.file.FileSystemLocationProperty<? extends org.gradle.api.file.FileSystemLocation> getArtifactPath()
    • setup

      default void setup(org.gradle.api.artifacts.result.ResolvedArtifactResult resolvedArtifact)