Hi,
I've started working on basic distribution plugin implementation (
https://github.com/gradle/gradle/blob/master/design-docs/building-and-packaging-applications-and-libraries.md#introduce-a-basic-distribution-plugin
).
I've follow the design docs and I've few questions :
1) I have introduced a distribution extension when applying
java-library-distribution in order to match the following DSL :
apply plugin: 'java-library-distribution` // implies `java` and
`distribution` plugins
distribution {
name = 'someName'
}
distZip {
from { ... }
}
Is this the right way to do ?
2) Does it make sense to check that distribution name is not null and
not empty ? (I can't figure how this could happen)
Cheers,
Sébastien