Interface Distribution
- All Superinterfaces:
Named
- All Known Subinterfaces:
PlayDistribution
A distribution allow to bundle an application or a library including dependencies,sources...
-
Nested Class Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionConfigures the contents of the distribution.The baseName of the distribution, used in naming the distribution archives.The contents of the distribution.getName()The name of this distribution.voidsetBaseName(String baseName) The baseName of the distribution.
-
Method Details
-
getName
-
getBaseName
-
setBaseName
The baseName of the distribution.Set to change the name of the distribution archives.
-
getContents
CopySpec getContents()The contents of the distribution. -
contents
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 thecontents\{}block is the same DSL used for Copy tasks.
-