Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects