Search Gradle plugins

Version 1.0.0-SNAPSHOT (latest)

Created 24 February 2021.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.javiersc.catalogs.settings-toml:com.javiersc.catalogs.settings-toml.gradle.plugin:1.0.0-SNAPSHOT")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.javiersc.catalogs.settings-toml")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.javiersc.catalogs.settings-toml:com.javiersc.catalogs.settings-toml.gradle.plugin:1.0.0-SNAPSHOT")
      }
    }
    
    apply(plugin = "com.javiersc.catalogs.settings-toml")
  • Applying plugins to all subprojects .