Package org.gradle.api.artifacts
Interface MutableVariantFilesMetadata
public interface MutableVariantFilesMetadata
Mutable information about the files that belong to a variant.
- Since:
 - 6.0
 
- 
Method Summary
 
- 
Method Details
- 
removeAllFiles
void removeAllFiles()Remove all files already defined for the variant. Useful when files where initialized from a base variant or configuration usingComponentMetadataDetails.addVariant(String, String, Action). - 
addFile
Add a file, if the file location is the same as the file name.- Parameters:
 name- name and path of the file.
 - 
addFile
Add a file.- Parameters:
 name- name of the fileurl- location of the file, if not located next to the metadata in the repository
 
 -