contents
Configures the contents of the distribution.
Can be used to configure the contents of the distribution:
plugins {
    id 'distribution'
}
distributions {
    main {
        contents {
            from "src/readme"
        }
    }
}
Content copied to clipboard
contents\{}  block is the same DSL used for Copy tasks.