Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.settings") version "0.30.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.settings" version "0.30.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects