Search Gradle plugins

Using the plugins DSL:

plugins {
  id "pl.greenpath.gradle.docker.microservices" version "2.0.18"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.pl.greenpath.gradle.dockermicroservices:docker-microservices-gradle-plugin:2.0.18"
  }
}

apply plugin: "pl.greenpath.gradle.docker.microservices"

Using the plugins DSL:

plugins {
  id("pl.greenpath.gradle.docker.microservices") version "2.0.18"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.pl.greenpath.gradle.dockermicroservices:docker-microservices-gradle-plugin:2.0.18")
  }
}

apply(plugin = "pl.greenpath.gradle.docker.microservices")

Learn how to apply plugins to subprojects