Search Gradle plugins

Using the plugins DSL:

plugins {
  id("tekgenesis.dist") version "0.7.33"
}

Using legacy plugin application:

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

apply(plugin = "tekgenesis.dist")

Using the plugins DSL:

plugins {
  id "tekgenesis.dist" version "0.7.33"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.tekgenesis:gradle-plugin:0.7.33"
  }
}

apply plugin: "tekgenesis.dist"

Learn how to apply plugins to subprojects