Search Gradle plugins

Using the plugins DSL:

plugins {
  id("de.fayard.refreshVersions") version "0.8.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.fayard:refreshVersions:0.8.4")
  }
}

apply(plugin = "de.fayard.refreshVersions")

Using the plugins DSL:

plugins {
  id "de.fayard.refreshVersions" version "0.8.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.fayard:refreshVersions:0.8.4"
  }
}

apply plugin: "de.fayard.refreshVersions"

Learn how to apply plugins to subprojects