Search Gradle plugins

org.xbib.gradle.plugin.docker

Gradle Docker Plugin executes docker build and push from within Gradle

https://github.com/jprante/gradle-plugin-docker

Version 1.0.1 (latest)

Created 09 October 2018.

Gradle Docker Plugin executes docker build and push from within Gradle

Using the plugins DSL:

plugins {
  id "org.xbib.gradle.plugin.docker" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.xbib.gradle.plugin:gradle-plugin-docker:1.0.1"
  }
}

apply plugin: "org.xbib.gradle.plugin.docker"

Using the plugins DSL:

plugins {
  id("org.xbib.gradle.plugin.docker") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.xbib.gradle.plugin:gradle-plugin-docker:1.0.1")
  }
}

apply(plugin = "org.xbib.gradle.plugin.docker")

Learn how to apply plugins to subprojects