Search Gradle plugins

Version 1.0.16 (latest)

1.0.16

Created 23 August 2024.

Oppinionated way to build docker base images

Using the plugins DSL:

plugins {
  id("co.elastic.docker-base") version "1.0.16"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("co.elastic.gradle:base-image:1.0.16")
  }
}

apply(plugin = "co.elastic.docker-base")

Using the plugins DSL:

plugins {
  id "co.elastic.docker-base" version "1.0.16"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "co.elastic.gradle:base-image:1.0.16"
  }
}

apply plugin: "co.elastic.docker-base"

Learn how to apply plugins to subprojects