Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects