Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.insight") version "0.54.0"
}

Using legacy plugin application:

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

apply(plugin = "org.kordamp.gradle.insight")

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.insight" version "0.54.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.kordamp.gradle:insight-gradle-plugin:0.54.0"
  }
}

apply plugin: "org.kordamp.gradle.insight"

Learn how to apply plugins to subprojects