Search Gradle plugins

Using the plugins DSL:

plugins {
  id("ch.tutteli.settings") version "0.23.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ch.tutteli:tutteli-gradle-settings:0.23.0")
  }
}

apply(plugin = "ch.tutteli.settings")

Using the plugins DSL:

plugins {
  id "ch.tutteli.settings" version "0.23.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ch.tutteli:tutteli-gradle-settings:0.23.0"
  }
}

apply plugin: "ch.tutteli.settings"

Learn how to apply plugins to subprojects