Search Gradle plugins

org.sglahn.gradle-dockerfile-plugin

Gradle Plugin to build and push Docker images without inline configuration.

https://github.com/sglahn/gradle-dockerfile-plugin

Version 0.4

Created 29 April 2017.

Gradle Plugin to build and push Docker images without inline configuration.

Using the plugins DSL:

plugins {
  id "org.sglahn.gradle-dockerfile-plugin" version "0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.sglahn:gradle-dockerfile-plugin:0.4"
  }
}

apply plugin: "org.sglahn.gradle-dockerfile-plugin"

Using the plugins DSL:

plugins {
  id("org.sglahn.gradle-dockerfile-plugin") version "0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.sglahn:gradle-dockerfile-plugin:0.4")
  }
}

apply(plugin = "org.sglahn.gradle-dockerfile-plugin")

Learn how to apply plugins to subprojects