Search Gradle plugins

Using the plugins DSL:

plugins {
  id("dev.monosoul.jooq-docker") version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.monosoul.jooq:jooq-gradle-plugin:0.4.0")
  }
}

apply(plugin = "dev.monosoul.jooq-docker")

Using the plugins DSL:

plugins {
  id "dev.monosoul.jooq-docker" version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.monosoul.jooq:jooq-gradle-plugin:0.4.0"
  }
}

apply plugin: "dev.monosoul.jooq-docker"

Learn how to apply plugins to subprojects