TrigonicSolutions / gradle-rpm-plugin

Gradle plugin for constructing RPM packages.
Apache License 2.0
38 stars 19 forks source link

Support for identifying RPM filenames when generating multiple RPMs #26

Closed eddgrant closed 11 years ago

eddgrant commented 11 years ago

Hi,

When building a single RPM it is possible to identify the built RPM filename through the rpm.archivePath property. Is there an equivalent mechanism that can be used to get all the RPM filenames when building multiple RPMs? The reason I need this is due to the fact that we're using incremental builds so have a potential build up of RPMs over multiple build executions and I need to be able to identify only those built by the current build invocation.

Many thanks,

Edd

eddgrant commented 11 years ago

Have re-visited this and have realised that this is already supported. It was mis-understanding of what level the RPM archivePath property was set at which was causing me confusion. Now that I understand the workings I realise I can simply iterate through my RPM tasks and reference the archivePath property from each task to identify the RPMs that have been built as part of the active build. Closing this issue.