Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.deltafi.plugin-convention") version "2.0-beta20"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.deltafi.gradle-plugin:gradle-plugin:2.0-beta20")
  }
}

apply(plugin = "org.deltafi.plugin-convention")

Using the plugins DSL:

plugins {
  id "org.deltafi.plugin-convention" version "2.0-beta20"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.deltafi.gradle-plugin:gradle-plugin:2.0-beta20"
  }
}

apply plugin: "org.deltafi.plugin-convention"

Learn how to apply plugins to subprojects