Search Gradle plugins

Using the plugins DSL:

plugins {
  id("de.fayard.refreshVersions-core") version "0.9.5"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "de.fayard.refreshVersions-core" version "0.9.5"
}

Using legacy plugin application:

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

apply plugin: "de.fayard.refreshVersions-core"

Learn how to apply plugins to subprojects