com.netflix.gradle.plugins.packaging.Trigger.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-ospackage-plugin Show documentation
Show all versions of gradle-ospackage-plugin Show documentation
Provides a task similar to Tar and Zip for constructing RPM and DEB package files.
package com.netflix.gradle.plugins.packaging
import groovy.transform.EqualsAndHashCode
@EqualsAndHashCode
class Trigger implements Serializable {
// File or Package Name
Dependency dependency
final File command
Trigger(Dependency dependency, File command) {
assert command, "Trigger script is required"
this.dependency = dependency
this.command = command
}
}