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 Precompiled settings plugin

Using the plugins DSL:

plugins {
  id("com.javiersc.catalogs.precompiled-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-precompiled-settings-toml:1.0.0-SNAPSHOT")
  }
}

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

Using the plugins DSL:

plugins {
  id "com.javiersc.catalogs.precompiled-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-precompiled-settings-toml:1.0.0-SNAPSHOT"
  }
}

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

Learn how to apply plugins to subprojects