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 2.2.0 (latest)

Created 15 October 2020.

Docker support in a Gradle plugin

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects