Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects