Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "tekgenesis.dist"

Using the plugins DSL:

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

Using legacy plugin application:

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

apply(plugin = "tekgenesis.dist")

Learn how to apply plugins to subprojects