Search Gradle plugins

com.palantir.metric-schema

Schema for standard metric definitions with generators for documentation and type-safe instrumentation utilities.

https://github.com/palantir/metric-schema

Sources: https://github.com/palantir/metric-schema

Version 0.32.0 (latest)

Created 11 April 2024.

Schema for standard metric definitions with generators for documentation and type-safe instrumentation utilities.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.palantir.metric-schema") version "0.32.0"
}

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.palantir.metric-schema:com.palantir.metric-schema.gradle.plugin:0.32.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.palantir.metric-schema")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.palantir.metric-schema:com.palantir.metric-schema.gradle.plugin:0.32.0")
      }
    }
    
    apply(plugin = "com.palantir.metric-schema")
  • Applying plugins to all subprojects .