Search Gradle plugins

Using the plugins DSL:

plugins {
  id("online.colaba.docker") version "1.2.691"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.online.colaba:gradle-docker-plugin:1.2.691")
  }
}

apply(plugin = "online.colaba.docker")

Using the plugins DSL:

plugins {
  id "online.colaba.docker" version "1.2.691"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.online.colaba:gradle-docker-plugin:1.2.691"
  }
}

apply plugin: "online.colaba.docker"

Learn how to apply plugins to subprojects