com.netflix.gradle.plugins.docker.OsPackageDockerPlugin.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.docker
import com.bmuschko.gradle.docker.DockerRemoteApiPlugin
import com.bmuschko.gradle.docker.tasks.image.DockerBuildImage
import com.netflix.gradle.plugins.packaging.CommonPackagingPlugin
import com.netflix.gradle.plugins.packaging.SystemPackagingBasePlugin
import org.gradle.api.Plugin
import org.gradle.api.Project
class OsPackageDockerPlugin implements Plugin {
@Override
void apply(Project project) {
project.plugins.apply(SystemPackagingBasePlugin)
project.plugins.apply(OsPackageDockerBasePlugin)
project.plugins.apply(DockerRemoteApiPlugin)
}
}