Search Gradle plugins

Version 1.0.0-SNAPSHOT (latest)

1.0.0-SNAPSHOT

Created 24 February 2021.

A demo to show how to create and publish a Settings settings plugin

Using the plugins DSL:

plugins {
  id("com.javiersc.catalogs.settings-toml") version "1.0.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.javiersc.catalogs:catalog-settings-toml:1.0.0-SNAPSHOT")
  }
}

apply(plugin = "com.javiersc.catalogs.settings-toml")

Using the plugins DSL:

plugins {
  id "com.javiersc.catalogs.settings-toml" version "1.0.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.javiersc.catalogs:catalog-settings-toml:1.0.0-SNAPSHOT"
  }
}

apply plugin: "com.javiersc.catalogs.settings-toml"

Learn how to apply plugins to subprojects