Package org.gradle.api.artifacts
Schnittstelle MutableVariantFilesMetadata
public interface MutableVariantFilesMetadata
Mutable information about the files that belong to a variant.
- Seit:
- 6.0
-
Methodenübersicht
-
Methodendetails
-
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.- Parameter:
name- name and path of the file.
-
addFile
Add a file.- Parameter:
name- name of the fileurl- location of the file, if not located next to the metadata in the repository
-