fun add(file: File, vararg types: String): FileItem
Add a single file to the component. This kind of files will be copied as they are.
file - a real file on the file system
types - set of deployment or environment types
fun add(file: File): FileItem
Add a single file to the configuration.
file - a real file on the file system
fun add(file: File, action: Action<in FileItem>): Unit
Add a single file to the configuration and configures this.