Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.javiersc.gradle.plugins.build.version.catalogs") version "0.1.0-rc.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.javiersc.gradle-plugins:build-version-catalogs:0.1.0-rc.6")
  }
}

apply(plugin = "com.javiersc.gradle.plugins.build.version.catalogs")

Using the plugins DSL:

plugins {
  id "com.javiersc.gradle.plugins.build.version.catalogs" version "0.1.0-rc.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.javiersc.gradle-plugins:build-version-catalogs:0.1.0-rc.6"
  }
}

apply plugin: "com.javiersc.gradle.plugins.build.version.catalogs"

Learn how to apply plugins to subprojects