Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "de.fayard.refreshVersions"

Learn how to apply plugins to subprojects