abstract fun contents(action: Action<in CopySpec>): CopySpec
Configures the contents of the distribution.
Can be used to configure the contents of the distribution:
apply plugin: "distribution" distributions { main { contents { from "src/readme" } } }
The DSL inside the contents\{}
block is the same DSL used for Copy tasks.