Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.avast.gradle.docker-compose") version "0.16.8"
}

Using legacy plugin application:

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

apply(plugin = "com.avast.gradle.docker-compose")

Using the plugins DSL:

plugins {
  id "com.avast.gradle.docker-compose" version "0.16.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.avast.gradle:gradle-docker-compose-plugin:0.16.8"
  }
}

apply plugin: "com.avast.gradle.docker-compose"

Learn how to apply plugins to subprojects