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") version "1.0.0-SNAPSHOT"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects